Re: [PATCH v4 1/2] uio_hv_generic: Fix sysfs creation path for ring buffer
From: Greg Kroah-Hartman
Date: Tue Apr 15 2025 - 12:14:08 EST
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