* [PATCH] prism54: use NULL for pointer
@ 2005-01-23 6:53 Randy.Dunlap
2005-01-27 22:12 ` Jeff Garzik
0 siblings, 1 reply; 3+ messages in thread
From: Randy.Dunlap @ 2005-01-23 6:53 UTC (permalink / raw)
To: netdev; +Cc: jgarzik, prism54-private
Use NULL instead of 0 for pointer:
drivers/net/wireless/prism54/isl_ioctl.c:1753:16: warning: Using plain integer as NULL pointer
drivers/net/wireless/prism54/isl_ioctl.c:1753:26: warning: Using plain integer as NULL pointer
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
drivers/net/wireless/prism54/isl_ioctl.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./drivers/net/wireless/prism54/isl_ioctl.c~prism54_isl_null ./drivers/net/wireless/prism54/isl_ioctl.c
--- ./drivers/net/wireless/prism54/isl_ioctl.c~prism54_isl_null 2005-01-22 21:53:00.599920368 -0800
+++ ./drivers/net/wireless/prism54/isl_ioctl.c 2005-01-22 21:53:58.223160304 -0800
@@ -1750,7 +1750,7 @@ prism54_process_trap_helper(islpci_priva
u8 wpa_ie[MAX_WPA_IE_LEN];
int wpa_ie_len;
size_t len = 0; /* u16, better? */
- u8 *payload = 0, *pos = 0;
+ u8 *payload = NULL, *pos = NULL;
int ret;
/* I think all trapable objects are listed here.
--
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-27 22:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23 6:53 [PATCH] prism54: use NULL for pointer Randy.Dunlap
2005-01-27 22:12 ` Jeff Garzik
2005-01-27 22:21 ` Luis R. Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).