mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
[MTD] maps: sparse fixup
The patch below fixes the following sparse warning: drivers/mtd/maps/nettel.c:482:27: warning: Using plain integer as NULL pointer Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
8bc3b3804a
commit
e2602b347a
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
||||||
* (C) Copyright 2000-2001, Greg Ungerer (gerg@snapgear.com)
|
* (C) Copyright 2000-2001, Greg Ungerer (gerg@snapgear.com)
|
||||||
* (C) Copyright 2001-2002, SnapGear (www.snapgear.com)
|
* (C) Copyright 2001-2002, SnapGear (www.snapgear.com)
|
||||||
*
|
*
|
||||||
* $Id: nettel.c,v 1.11 2005/11/07 11:14:27 gleixner Exp $
|
* $Id: nettel.c,v 1.12 2005/11/29 14:30:00 gleixner Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
|
@ -479,7 +479,7 @@ void __exit nettel_cleanup(void)
|
||||||
}
|
}
|
||||||
if (nettel_intel_map.virt) {
|
if (nettel_intel_map.virt) {
|
||||||
iounmap(nettel_intel_map.virt);
|
iounmap(nettel_intel_map.virt);
|
||||||
nettel_intel_map.virt = 0;
|
nettel_intel_map.virt = NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue