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

Wei-chin Tsai (蔡維晉) Wei-chin.Tsai at mediatek.com
Tue Jun 13 02:12:38 PDT 2023


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


More information about the Linux-mediatek mailing list