From: "Randy.Dunlap" <rddunlap@osdl.org>
To: lkml <linux-kernel@vger.kernel.org>
Cc: akpm <akpm@osdl.org>
Subject: [PATCH] isicom: use NULL for pointer
Date: Sat, 22 Jan 2005 22:51:13 -0800 [thread overview]
Message-ID: <20050122225113.3d992b5c.rddunlap@osdl.org> (raw)
Use NULL instead of 0 for pointer:
drivers/char/isicom.c:1274:14: warning: Using plain integer as NULL pointer
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
diffstat:=
drivers/char/isicom.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./drivers/char/isicom.c~isicom_null ./drivers/char/isicom.c
--- ./drivers/char/isicom.c~isicom_null 2005-01-22 19:06:30.382664240 -0800
+++ ./drivers/char/isicom.c 2005-01-22 21:49:50.077884120 -0800
@@ -1271,7 +1271,7 @@ static void isicom_shutdown_port(struct
}
port->flags &= ~ASYNC_INITIALIZED;
/* 3rd October 2000 : Vinayak P Risbud */
- port->tty = 0;
+ port->tty = NULL;
spin_unlock_irqrestore(&card->card_lock, flags);
/*Fix done by Anil .S on 30-04-2001
--
reply other threads:[~2005-01-23 7:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050122225113.3d992b5c.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®