]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/block/amiflop.c
[PATCH] drivers/block: Use ARRAY_SIZE macro
authorTobias Klauser <tklauser@nuerscht.ch>
Sun, 8 Jan 2006 09:05:11 +0000 (01:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:14:08 +0000 (20:14 -0800)
commit945f390f02ce44a13aefc6d9449c99f33c9286a5
treebe5685ed17677b4c076b69e7d4d77eae4cbe718c
parentef9ceab28203690a42d7d3915ccf6e208f0762bc
[PATCH] drivers/block: Use ARRAY_SIZE macro

Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove a
duplicate of ARRAY_SIZE. Some trailing whitespaces are also removed.

drivers/block/acsi* has been left out as it's marked BROKEN.

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Cc: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/block/DAC960.c
drivers/block/amiflop.c
drivers/block/ataflop.c
drivers/block/cciss.c
drivers/block/cpqarray.c
drivers/block/floppy.c
drivers/block/xd.c