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

From: Greg Kroah-Hartman
Date: Mon Jun 12 2023 - 12:37:10 EST


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