The patch titled SATA: use NULL for ptrs has been removed from the -mm tree. Its filename was sata-use-null-for-ptrs.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: SATA: use NULL for ptrs From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> 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@xxxxxxxxxx> Cc: Jeff Garzik <jeff@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/ata/sata_mv.c | 2 +- drivers/ata/sata_sil.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/ata/sata_mv.c~sata-use-null-for-ptrs drivers/ata/sata_mv.c --- a/drivers/ata/sata_mv.c~sata-use-null-for-ptrs +++ a/drivers/ata/sata_mv.c @@ -2052,7 +2052,7 @@ static void mv_port_init(struct ata_iopo port->altstatus_addr = port->ctl_addr = shd_base + SHD_CTL_AST_OFS; /* unused: */ - port->cmd_addr = port->bmdma_addr = port->scr_addr = 0; + port->cmd_addr = port->bmdma_addr = port->scr_addr = NULL; /* Clear any currently outstanding port interrupt conditions */ serr_ofs = mv_scr_offset(SCR_ERROR); diff -puN drivers/ata/sata_sil.c~sata-use-null-for-ptrs drivers/ata/sata_sil.c --- a/drivers/ata/sata_sil.c~sata-use-null-for-ptrs +++ a/drivers/ata/sata_sil.c @@ -339,7 +339,7 @@ static inline void __iomem *sil_scr_addr break; } - return 0; + return NULL; } static u32 sil_scr_read (struct ata_port *ap, unsigned int sc_reg) _ Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are origin.patch git-drm.patch git-libata-all.patch phy-layer-add-kernel-doc-docbook.patch git-parisc.patch x86-dont-probe-for-ddc-on-vbe12.patch kernel-doc-include-struct-short-description-in-title.patch tty-use-null-for-ptrs.patch cdrom-use-unsigned-bitfields.patch update-doc-oops-tracingtxt-for-taint_user.patch update-doc-oops-tracingtxt-for-taint_user-fix.patch extend-notifier_call_chain-to-count-nr_calls-made-fixes.patch reiser4-use-null-for-pointers.patch profile_likely-export-do_check_likely.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html