- 07 Sep, 2003 1 commit
-
-
Matthew Wilcox authored
The ioctl number-generating macros should be used like #define XXXX _IOR(n,x,type-of-arg) which generates an ioctl number that has the size of the argument encoded within it. But there are a number of ioctl #defines that look like #define XXXX _IOR(n,x,sizeof(type-of-arg)) which is very wrong: the _IO/_IOR/_IOW/_IOWR macros will do the sizeof() on the argtype themselves, so the end result is that we will be doing a sizeof(sizeof(argtype)), ie a sizeof(size_t). In other words, the argtype didn't matter at all, and ended up totally pointless. Clearly it's too late to change the ioctl definitions, but we can at least stop people from copying them and making the same mistake.
-
- 06 Sep, 2003 38 commits
-
-
Andries E. Brouwer authored
I looked a bit more at the keyboard code and find a bug and a probable bug. (i) In case a synaptics touchpad has been detected, the comment says "disable AUX". But we do not set the disable bit, but instead .and. with the bit - no doubt getting zero. This must be a bug. (ii) Directly above this is the suspicious comment "keyboard translation seems to be always off". But every machine comes always up in translated scancode 2. Translation is never off. But wait! by mistake the above .and. cleared the XLATE bit. So, I think bug (i) explains mystery (ii). However, note that this is code reading only. I do not have the hardware, so cannot test.
-
Randy Dunlap authored
include linux/version.h in files that use its defines;
-
Randy Dunlap authored
rename make check* targets to make *check (per Sam) since 'make checkconfig' currently doesn't work; add versioncheck and scripts/checkversion.pl;
-
Randy Dunlap authored
This patch catches insures proper return values from copy_to/from_user calls. From: Ron Gage <ron@rongage.org>
-
Randy Dunlap authored
Ports previous qla1280.c patch to 2.6.0-test2. Fixes incorrect if statement. Inserts pci_free_consistent on error. From: Leann Ogasawara <ogasawara@osdl.org>
-
Randy Dunlap authored
From: Domen Puncer <domen@coderock.org>
-
Randy Dunlap authored
This patch catches insures proper return values from copy_to/from_user calls. From: Ron Gage <ron@rongage.org>
-
Randy Dunlap authored
From: Domen Puncer <domen@coderock.org> and Randy Dunlap Release (in fact all) functions shouldn't be __init or __exit, if they are called from __init and __exit functions.
-
Randy Dunlap authored
This patch catches insures proper return values from copy_to/from_user calls. From: Ron Gage <ron@rongage.org>
-
Randy Dunlap authored
This patch catches insures proper return values from copy_to/from_user calls. From: Ron Gage <ron@rongage.org>
-
Randy Dunlap authored
Test compiled on x86. From: Randy Hron <rwhron@earthlink.net
-
Randy Dunlap authored
From: Leann Ogasawara <ogasawara@osdl.org> Patch to insert ioremap() error checking and missing iounmap()'s. Also updated error handling to have only one return statement on error. Finally, in saa7134_finidev() on line 954 there was a duplicate saa7134_i2c_unregister().
-
Randy Dunlap authored
This patch catches insures proper return values from copy_to/from_user calls. From: Ron Gage <ron@rongage.org>
-
Randy Dunlap authored
blk_init_queue() has changed (it now returns queue), but the comments were the same. Also fixed a comment in blk_queue_end_tag. From: Domen Puncer <domen@coderock.org>
-
Randy Dunlap authored
From: Daniele Bellucci <bellucda@tiscali.it>
-
Randy Dunlap authored
From: Daniele <bellucda@tiscali.it> OK-ed by Jens.
-
Randy Dunlap authored
This patch catches insures proper return values from copy_to/from_user calls. From: Ron Gage <ron@rongage.org>
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> Put version.h in the file that needs it. Remove version.h where it isn't needed. Tested as module/non-module on x86.
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net>
-
Randy Dunlap authored
Three small 1-line patches to get rid of any remaining __SMP__ references in the 2.6 kernel. From: Ron Gage <ron@rongage.org>
-
Randy Dunlap authored
From: Daniele Bellucci <bellucda@tiscali.it> This patch audits some copy_from/to_user in the SysKonnect FDDI device driver.
-
Randy Dunlap authored
This patch catches insures proper return values from copy_to/from_user calls. From: Ron Gage <ron@rongage.org>
-
Randy Dunlap authored
From: Daniele Bellucci <bellucda@tiscali.it>
-
Randy Dunlap authored
Insert ioremap error check and adjust cleanup path accordingly. From: Leann Ogasawara <ogasawara@osdl.org>
-
Randy Dunlap authored
From: Daniele Bellucci <bellucda@tiscali.it> add 'static' to a function
-
Randy Dunlap authored
From: Randy Hron <rwhron@earthlink.net> remove unneeded linux/version.h usage & some duplicate #includes;
-
Geert Uytterhoeven authored
Dmasound: Use try_module_get()/module_put() instead of methods calling MOD_{IN,DE}C_USE_COUNT (from Christoph Hellwig)
-
Geert Uytterhoeven authored
Dmasound core fixes from Christoph Hellwig: - Some exported symbols are declared __init - in the modular case this is freed before the other modules can call it.. - dmasound.lock is initialized too late, do it at compile time
-
Rusty Russell authored
Hugh Dickins caught this confusion between the ret variable in outer scope (holding the fd) and the return value of f_setown. Rename inner "ret".
-
http://linux-watchdog.bkbits.net/linux-2.5-watchdogLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Wim Van Sebroeck authored
move all watchdog documentation into Documentation/watchdog/
-
bk://kernel.bkbits.net/jgarzik/irda-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/gregkh/linux/linus-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Hugh Dickins authored
This fixes two buts that the glibc NPTL verification tests found, one new and one old. The new bug is that "offset" has been declared as an alternative in the union, instead of as an element in the structures comprising it, effectively eliminating it from the key: keys match which should not. The old bug is that if futex_requeue were called with identical key1 and key2 (sensible? tended to happen given the first bug), it was liable to loop for a long time holding futex_lock: guard against that, still respecting the semantics of futex_requeue. While here, please let's also fix the get_futex_key VM_NONLINEAR case, which was returning the 1 from get_user_pages, taken as an error by its callers. And save a few bytes and improve debuggability by uninlining the top-level futex_wake, futex_requeue, futex_wait.
-
Bartlomiej Zolnierkiewicz authored
Noticed by Tejun Huh <tejun@aratech.co.kr>.
-
Russell King authored
This patch fixes a race condition between the pcmcia socket initial insert processing, ds.c and cardmgr. This allowed cardmgr to believe that a card was inserted while the card is still in the process of resetting itself, and it therefore tried to read the CIS while it was unavailable. We change the meaning of SOCKET_PRESENT slightly - it now means that a card is present _and we have completed its initialisation_. We introduce SOCKET_INUSE to indicate that we have a reference count against the module. We also take the skt_sem to prevent clients from registering while we're handling an insert/remove/suspend/resume.
-
Russell King authored
-
Russell King authored
socket references are pointers, not integers.
-
- 05 Sep, 2003 1 commit
-
-
Jean Tourrilhes authored
<Patch from Rusty Russell> o [FEATURE] Add module aliases to dongle drivers
-