summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_hpt366.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-10-01 14:38:22 (GMT)
committerJeff Garzik <jeff@garzik.org>2006-10-01 14:38:22 (GMT)
commit15a7c3bbe344d75e4891c7d30595899c12ccfaa1 (patch)
treedde621ec1c563a112d91f56aaa737e9ceb3c8a8b /drivers/ata/pata_hpt366.c
parente993835441734c184d70d3716eed78a08eeb71c2 (diff)
downloadlinux-15a7c3bbe344d75e4891c7d30595899c12ccfaa1.tar.xz
[libata] pata_artop: kill gcc warning
gcc complains thusly: drivers/ata/pata_artop.c: In function ‘artop_init_one’: drivers/ata/pata_artop.c:429: warning: ‘info’ may be used uninitialized in this function While this warning is indeed bogus, even with improved static analysis and value range propagation, gcc will probably never be able to detect this. Add a BUG_ON() to trap invalid driver_data entries in the PCI table. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_hpt366.c')
0 files changed, 0 insertions, 0 deletions