kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Garrit Franke <garritfranke@gmail.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: What's tha KOBJ_MAX action used for?
Date: Mon, 13 Jul 2020 14:35:23 +0200	[thread overview]
Message-ID: <20200713123523.GB3092589@kroah.com> (raw)
In-Reply-To: <20200713111725.kxjwte5hahmk23ik@CKC-BS-N0240>

On Mon, Jul 13, 2020 at 01:17:25PM +0200, Garrit Franke wrote:
> Hi all,
> 
> I was wondering, what the KOBJ_MAX action in the kobject.h file does. 
> It is self explainatory what KOBJ_ADD, KOBJ_REMOVE etc. are used for, but KOBJ_MAX puzzles me.
> 
> On top of that, it is never referenced somewhere in the sourcecode (https://elixir.bootlin.com/linux/v5.7.8/C/ident/KOBJ_MAX).
> 
> Can it maybe even be removed?

Maybe it can, try it and see!

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply	other threads:[~2020-07-13 12:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-13 11:17 What's tha KOBJ_MAX action used for? Garrit Franke
2020-07-13 12:35 ` Greg KH [this message]
2020-07-14  2:15   ` Valdis Klētnieks
2020-07-14 14:36     ` Garrit Franke
2020-07-14 16:12       ` Greg KH

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=20200713123523.GB3092589@kroah.com \
    --to=greg@kroah.com \
    --cc=garritfranke@gmail.com \
    --cc=kernelnewbies@kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).