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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Mon Jun 12 09:37:02 PDT 2023


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



More information about the Linux-mediatek mailing list