linux-stable-rt/drivers/block
Julia Lawall ea6728c11f [POWERPC] Use FIELD_SIZEOF in drivers/block/viodasd.c
Robert P.J. Day proposed to use the macro FIELD_SIZEOF in replace of code
that matches its definition.

The modification was made using the following semantic patch
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@haskernel@
@@

#include <linux/kernel.h>

@depends on haskernel@
type t;
identifier f;
@@

- (sizeof(((t*)0)->f))
+ FIELD_SIZEOF(t, f)

@depends on haskernel@
type t;
identifier f;
@@

- sizeof(((t*)0)->f)
+ FIELD_SIZEOF(t, f)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-01 20:43:10 +11:00
..
aoe Merge branch 'for-linus' of git://git.kernel.dk/linux-2.6-block 2008-02-08 09:42:46 -08:00
paride fix ! versus & precedence in various places 2008-02-06 10:40:59 -08:00
DAC960.c
DAC960.h
Kconfig The ps2esdi driver was marked as BROKEN more than two years ago due to being 2008-03-17 09:03:05 +01:00
Makefile The ps2esdi driver was marked as BROKEN more than two years ago due to being 2008-03-17 09:03:05 +01:00
amiflop.c
ataflop.c Atari floppy: Rename disk_type to atari_disk_type 2008-02-06 10:41:10 -08:00
brd.c rd: support XIP 2008-02-08 09:22:30 -08:00
cciss.c cciss: remove READ_AHEAD define and use block layer defaults 2008-03-04 11:28:43 +01:00
cciss.h
cciss_cmd.h
cciss_scsi.c resubmit: cciss: procfs updates to display info about many 2008-03-04 11:14:39 +01:00
cciss_scsi.h
cpqarray.c
cpqarray.h
cryptoloop.c
floppy.c block: floppy: fix rmmod lockup 2008-03-13 13:11:43 -07:00
ida_cmd.h
ida_ioctl.h
loop.c Allow auto-destruction of loop devices 2008-02-06 10:41:01 -08:00
nbd.c NBD: make nbd default to deadline I/O scheduler 2008-02-23 17:12:15 -08:00
pktcdvd.c pktcdvd: reduce stack consumption 2008-03-04 16:35:12 -08:00
ps3disk.c
smart1,2.h
sunvdc.c
swim3.c Fix compile of swim3 as module 2008-02-14 20:58:04 -08:00
sx8.c
ub.c ub: fix up the conversion to sg_init_table() 2008-02-09 11:08:33 -08:00
umem.c
umem.h
viodasd.c [POWERPC] Use FIELD_SIZEOF in drivers/block/viodasd.c 2008-04-01 20:43:10 +11:00
virtio_blk.c virtio: Fix sysfs bits to have proper block symlink 2008-03-17 22:58:15 +11:00
xd.c
xd.h
xen-blkfront.c xen: Implement getgeo for Xen virtual block device. 2008-02-21 16:19:13 -08:00
xsysace.c [POWERPC] Xilinx: Update compatible to use values generated by BSP generator. 2008-02-06 10:23:21 -07:00
z2ram.c