Re: What's tha KOBJ_MAX action used for?

2020-07-14 Thread Greg KH
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I

Re: What's tha KOBJ_MAX action used for?

2020-07-14 Thread Garrit Franke
Thanks for your replies. Also, thanks greg for your thorough review on my corresponding patch (https://lkml.org/lkml/2020/7/14/84), I learned a lot! I have been digging around about Kobjects a bit. They are nicely documented. Still, no documentation exists about this KOBJ_MAX action. This post on

Re: What's tha KOBJ_MAX action used for?

2020-07-13 Thread Valdis Klētnieks
On Mon, 13 Jul 2020 14:35:23 +0200, Greg KH said: > 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

Re: What's tha KOBJ_MAX action used for?

2020-07-13 Thread Greg KH
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