mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pekka Enberg <penberg@cs.helsinki.fi>
To: re.emese@gmail.com
Cc: linux-kernel@vger.kernel.org, rientjes@google.com,
	cl@linux-foundation.org, torvalds@linux-foundation.org
Subject: Re: [PATCH 3/4] Constify struct kset_uevent_ops for  2.6.32-git-053fe57ac v2
Date: Fri, 25 Dec 2009 13:31:20 +0200	[thread overview]
Message-ID: <84144f020912250331h23b8b724v73cf70c384d385ec@mail.gmail.com> (raw)
In-Reply-To: <eff97be7c5839477c88f7ba61ef100f38c58bf7d.1260663000.git.re.emese@gmail.com>

On Mon, Dec 14, 2009 at 2:00 AM,  <re.emese@gmail.com> wrote:
> From: Emese Revfy <re.emese@gmail.com>
>
>
> Signed-off-by: Emese Revfy <re.emese@gmail.com>
> ---
>  mm/slub.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/mm/slub.c b/mm/slub.c
> index 4996fc7..fb63aca 100644
> --- a/mm/slub.c
> +++ b/mm/slub.c
> @@ -4522,7 +4522,7 @@ static int uevent_filter(struct kset *kset, struct kobject *kobj)
>        return 0;
>  }
>
> -static struct kset_uevent_ops slab_uevent_ops = {
> +static const struct kset_uevent_ops slab_uevent_ops = {
>        .filter = uevent_filter,
>  };

  CC      mm/slub.o
mm/slub.c: In function 'slab_sysfs_init':
mm/slub.c:4679: warning: passing argument 2 of 'kset_create_and_add'
discards qualifiers from pointer target type
include/linux/kobject.h:164: note: expected 'struct kset_uevent_ops *'
but argument is of type 'const struct kset_uevent_ops *'

Hmm?

  reply	other threads:[~2009-12-25 11:31 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-14  0:00 [PATCH 0/4] " re.emese
2009-12-14  0:00 ` [PATCH 1/4] " re.emese
2009-12-14  0:00 ` [PATCH 1/1] Constify struct kgdb_io " re.emese
2009-12-14  0:00 ` [PATCH 2/4] Constify struct kset_uevent_ops " re.emese
2009-12-14 10:22   ` Steven Whitehouse
2009-12-14  0:00 ` [PATCH 3/4] " re.emese
2009-12-25 11:31   ` Pekka Enberg [this message]
2009-12-26  0:38     ` Emese Revfy
2009-12-28 20:46       ` David Rientjes
2009-12-29 20:50         ` Emese Revfy
2009-12-29 20:51           ` Pekka Enberg
2009-12-29  7:24       ` Pekka Enberg
2009-12-29 20:58         ` [PATCH 1/1] Constify struct kset_uevent_ops for 2.6.33-rc2 Emese Revfy
2009-12-30  0:11           ` Greg KH
2009-12-31  0:16             ` Emese Revfy
2009-12-31  4:40               ` Greg KH
2009-12-31 13:52                 ` Emese Revfy
2009-12-14  0:00 ` [PATCH 4/4] Constify struct kset_uevent_ops for 2.6.32-git-053fe57ac v2 re.emese

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=84144f020912250331h23b8b724v73cf70c384d385ec@mail.gmail.com \
    --to=penberg@cs.helsinki.fi \
    --cc=cl@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=re.emese@gmail.com \
    --cc=rientjes@google.com \
    --cc=torvalds@linux-foundation.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®