]> err.no Git - linux-2.6/commit
[SCSI] drivers/scsi: Use ARRAY_SIZE macro
authorTobias Klauser <tklauser@nuerscht.ch>
Fri, 9 Jun 2006 05:23:48 +0000 (22:23 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 10 Jun 2006 15:45:30 +0000 (10:45 -0500)
commit6391a11375de5e2bb1eb8481e54619761dc65d9f
tree956aae1d278a3f731b2e6148ff40a69aa7957ea8
parent9dc399de0840a478adb71278becf598d3ab3aacc
[SCSI] drivers/scsi: Use ARRAY_SIZE macro

Use ARRAY_SIZE macro instead of sizeof(x)/sizeof(x[0]) and remove
duplicates of the macro.

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
47 files changed:
drivers/scsi/3w-xxxx.c
drivers/scsi/53c700.c
drivers/scsi/53c7xx.c
drivers/scsi/NCR53c406a.c
drivers/scsi/aacraid/aachba.c
drivers/scsi/aacraid/commctrl.c
drivers/scsi/aha1542.c
drivers/scsi/aic7xxx/aic7770.c
drivers/scsi/aic7xxx/aic79xx.h
drivers/scsi/aic7xxx/aic79xx_core.c
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/aic7xxx/aic79xx_pci.c
drivers/scsi/aic7xxx/aic79xx_proc.c
drivers/scsi/aic7xxx/aic7xxx.h
drivers/scsi/aic7xxx/aic7xxx_core.c
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_pci.c
drivers/scsi/aic7xxx/aic7xxx_proc.c
drivers/scsi/aic7xxx_old.c
drivers/scsi/constants.c
drivers/scsi/dtc.c
drivers/scsi/fd_mcs.c
drivers/scsi/fdomain.c
drivers/scsi/g_NCR5380.c
drivers/scsi/gdth.c
drivers/scsi/ibmmca.c
drivers/scsi/in2000.c
drivers/scsi/initio.c
drivers/scsi/ips.c
drivers/scsi/osst.c
drivers/scsi/pas16.c
drivers/scsi/qla1280.c
drivers/scsi/qlogicpti.c
drivers/scsi/raid_class.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_sysfs.c
drivers/scsi/scsi_transport_fc.c
drivers/scsi/scsi_transport_sas.c
drivers/scsi/scsi_transport_spi.c
drivers/scsi/sd.c
drivers/scsi/seagate.c
drivers/scsi/sg.c
drivers/scsi/st.c
drivers/scsi/sym53c8xx_2/sym_hipd.c
drivers/scsi/t128.c
drivers/scsi/wd33c93.c
drivers/scsi/wd7000.c