From: Mikael Pettersson <mikpe@csd.uu.se>
To: Keith Owens <kaos@ocs.com.au>
Cc: linux-kernel@vger.kernel.org, davej@suse.de
Subject: Re: 2.5.15 warnings
Date: Fri, 10 May 2002 13:49:37 +0200 [thread overview]
Message-ID: <15579.46033.278561.40777@kim.it.uu.se> (raw)
In-Reply-To: <26949.1021006885@kao2.melbourne.sgi.com>
Keith Owens wrote:
> drivers/char/ftape/zftape/zftape-init.c: In function `zft_open':
> drivers/char/ftape/zftape/zftape-init.c:116: warning: passing arg 2 of `test_and_set_bit' from incompatible pointer type
> drivers/char/ftape/zftape/zftape-init.c:122: warning: passing arg 2 of `clear_bit' from incompatible pointer type
> drivers/char/ftape/zftape/zftape-init.c:130: warning: passing arg 2 of `clear_bit' from incompatible pointer type
> drivers/char/ftape/zftape/zftape-init.c: In function `zft_close':
> drivers/char/ftape/zftape/zftape-init.c:149: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
> drivers/char/ftape/zftape/zftape-init.c:159: warning: passing arg 2 of `clear_bit' from incompatible pointer type
> drivers/char/ftape/zftape/zftape-init.c: In function `zft_ioctl':
> drivers/char/ftape/zftape/zftape-init.c:172: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
> drivers/char/ftape/zftape/zftape-init.c: In function `zft_mmap':
> drivers/char/ftape/zftape/zftape-init.c:192: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
> drivers/char/ftape/zftape/zftape-init.c: In function `zft_read':
> drivers/char/ftape/zftape/zftape-init.c:222: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
> drivers/char/ftape/zftape/zftape-init.c: In function `zft_write':
> drivers/char/ftape/zftape/zftape-init.c:245: warning: passing arg 2 of `constant_test_bit' from incompatible pointer type
This patch silences the zftape warnings. (Dave: please include in the next -dj)
/Mikael
--- linux-2.5.15/drivers/char/ftape/zftape/zftape-init.c.~1~ Wed Feb 20 03:11:00 2002
+++ linux-2.5.15/drivers/char/ftape/zftape/zftape-init.c Fri May 10 01:54:40 2002
@@ -67,7 +67,7 @@
/* Local vars.
*/
-static int busy_flag;
+static unsigned long busy_flag;
static sigset_t orig_sigmask;
next prev parent reply other threads:[~2002-05-10 11:50 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-10 3:26 2.5.15 broken code Keith Owens
2002-05-10 5:01 ` 2.5.15 warnings Keith Owens
2002-05-10 7:17 ` [PATCH] fix one of " Stephen Rothwell
2002-05-10 11:49 ` Mikael Pettersson [this message]
2002-05-10 11:54 ` Mikael Pettersson
2002-05-10 11:58 ` Mikael Pettersson
2002-05-10 13:20 ` Russell King
2002-05-10 14:07 ` Mikael Pettersson
2002-05-10 15:37 ` John Weber
2002-05-10 15:51 ` Russell King
2002-05-10 16:01 ` John Weber
2002-05-11 0:56 ` jw schultz
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=15579.46033.278561.40777@kim.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=davej@suse.de \
--cc=kaos@ocs.com.au \
--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®