mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: bcrl@kvack.org
Cc: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: [RESEND patch 2.6.22-rc2-git] AIO sparse fix (type of ki_flags)
Date: Tue, 17 Jul 2007 07:03:57 -0700	[thread overview]
Message-ID: <200707170703.57917.david-b@pacbell.net> (raw)

Fix type issue reported by latest 'sparse':  kiocb.ki_flags should
be "unsigned long" (not "long"), to match bitop type signature.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
---
 include/linux/aio.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- h4.orig/include/linux/aio.h	2007-05-19 11:40:45.000000000 -0700
+++ h4/include/linux/aio.h	2007-05-25 19:23:34.000000000 -0700
@@ -86,7 +86,7 @@ struct kioctx;
  */
 struct kiocb {
 	struct list_head	ki_run_list;
-	long			ki_flags;
+	unsigned long		ki_flags;
 	int			ki_users;
 	unsigned		ki_key;		/* id of this request */
 

                 reply	other threads:[~2007-07-17 15:12 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=200707170703.57917.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=bcrl@kvack.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®