Re: [PATCH v4 1/2] uio_hv_generic: Fix sysfs creation path for ring buffer

Greg Kroah-Hartman
2025-04-15T16:13:50Z

On Thu, Apr 10, 2025 at 11:38:46AM +0530, Naman Jain wrote:
> + /*
> + * Skip updating the sysfs group if the primary channel is not yet initialized and sysfs
> + * group is not yet created. In those cases, the 'ring' will be created later in
> + * vmbus_device_register() -> vmbus_add_channel_kobj().
> + */
> + if (!primary_channel->device_obj->channels_kset)
> + return 0;

2 spaces after "if"?

Yeah, it's minor, but it made me think that checkpatch had not been run.

thanks,

greg k-h