On Fri, 22 Feb 2008 10:14:15 -0800 Harvey Harrison <harvey.harrison@gmail.com> wrote:Unrelated to your change, but... We prefer min_t over casts like this (not sure why, but let's be consistent) The reason for this cast is that all this code is using `int' for the transfer count (arguably wrong - should use size_t, but that propagates all the way to tty_operations.write) but cyclades has #define SERIAL_XMIT_SIZE (min(PAGE_SIZE, 4096)) which is unsigned on most architectures. A possibly-sane fix for all of this is to use min_t in the above then nuke the casts. --
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
| James Bottomley | Re: Integration of SCST in the mainstream Linux kernel |
| Jeff Garzik | Re: [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in |
| Chodorenko Michail | PROBLEM: Celeron Core |
git: | |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Johannes Schindelin | Re: Empty directories... |
| Jakub Narebski | Re: VCS comparison table |
| Sam Song | Re: Fwd: [OT] Re: Git via a proxy server? |
| J.W. Zondag | Dell PE1950 III - Perc 6i |
| Richard Stallman | Real men don't attack straw men |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Anselm R. Garbe | OpenBSD 4.0 / Xorg -> vesa 1920x1200 widescreen resolution |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Anselm Lingnau | File creation date in UNIX (was: Re: VMS) |
| Rafal Kustra (summer student) | mount |
| Nicholas Yue | Re: more on 486/33 weirdness |
