All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [Kernel-janitors] [PATCH] - 2.6.2 - security.h - compiler cleanups
Date: Sat, 14 Feb 2004 04:55:52 +0000	[thread overview]
Message-ID: <20040214045552.GA19957@kroah.com> (raw)
In-Reply-To: <200402122141.59608.ron@rongage.org>

On Fri, Feb 13, 2004 at 10:45:24PM +0000, Matthew Wilcox wrote:
> static int foo(int x, int __unused y)
> 
> also doesn't warn, and that's the same syntax as __user, which gives me
> the warm fuzzies.

This is much more sane and nice.

Can we get a warning from the compiler if we actually use a variable
marked __unused?

thanks,

greg k-h
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

  parent reply	other threads:[~2004-02-14  4:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-13  2:41 [Kernel-janitors] [PATCH] - 2.6.2 - security.h - compiler cleanups Ron Gage
2004-02-13 20:42 ` Greg KH
2004-02-13 21:20 ` Ron Gage
2004-02-13 21:57 ` Greg KH
2004-02-13 22:02 ` Ron Gage
2004-02-13 22:45 ` Matthew Wilcox
2004-02-14  4:55 ` Greg KH [this message]
2004-02-14 16:53 ` Matthew Wilcox
2004-02-14 17:16 ` Christoph Hellwig
2004-02-14 17:41 ` Matthew Wilcox
2004-02-15  6:35 ` Adrian Bunk

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=20040214045552.GA19957@kroah.com \
    --to=greg@kroah.com \
    --cc=kernel-janitors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.