SATA: use NULL for ptrs
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 16 Feb 2007 09:40:06 +0000 (01:40 -0800)
committerJeff Garzik <jeff@garzik.org>
Wed, 21 Feb 2007 09:58:17 +0000 (04:58 -0500)
commit8d9db2d2fbae9e05022825c32f86e00c8e342860
treed59c4d88d62253ba40afa99b76052faf3afa0f67
parent2cb27853b7cbf0c908444e25c61b62fa336b88cd
SATA: use NULL for ptrs

Fix sparse warnings in SATA:
drivers/ata/sata_sil.c:342:9: warning: Using plain integer as NULL pointer
drivers/ata/sata_mv.c:2056:55: warning: Using plain integer as NULL pointer

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_mv.c
drivers/ata/sata_sil.c