Re: [PATCH v1 1/1] process: export symbols for fork/exit tracing functions

From: Wei-chin Tsai (蔡維晉)
Date: Tue Jun 13 2023 - 05:13:09 EST


On Mon, 2023-06-12 at 18:37 +0200, Greg Kroah-Hartman wrote:
>
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> On Mon, Jun 12, 2023 at 11:15:41PM +0800, jim.tsai wrote:
> > +static void class_create_release(struct class *cls)
> > +{
> > +/*do nothing because the mbraink class is not from malloc*/
> > +}
>
> Then the code is totally broken and wrong :(
>
> Please just use the misc device api instead, it is much simpler and
> doesn't have these types of errors.
>
> thanks,
>
> greg k-h


Sorry, I did not really get the point from above comments because It
works well for me for the mbraink_main.c and no compiler errors or
runtime errors?

thanks.

Jim