[PATCH] Drivers: hv: Fix Issues reported by checkpatch.pl script

2024-03-25 Thread Aditya Nagesh
Fix issues reported by checkpatch.pl script in hv.c and balloon.c - Remove unnecessary parentheses - Remove extra newlines - Remove extra spaces - Add spaces between comparison operators - Remove comparison with NULL in if statements No functional changes intended Signed-off-by: Aditya

Re: [PATCH v5] hv/hv_kvp_daemon: Handle IPv4 and Ipv6 combination for keyfile format

2024-03-25 Thread Easwar Hariharan
On 3/22/2024 6:46 AM, Shradha Gupta wrote: > If the network configuration strings are passed as a combination of IPv4 > and IPv6 addresses, the current KVP daemon does not handle processing for > the keyfile configuration format. > With these changes, the keyfile config generation logic scans

Re: [PATCH] hv: vmbus: Convert sprintf() family to sysfs_emit() family

2024-03-25 Thread Wei Liu
On Mon, Mar 25, 2024 at 09:39:52AM +, Zhijian Li (Fujitsu) wrote: > > > On 23/03/2024 07:37, Wei Liu wrote: > > Hi Zhijian, > > > > On Tue, Mar 19, 2024 at 11:43:50AM +0800, Li Zhijian wrote: > >> Per filesystems/sysfs.rst, show() should only use sysfs_emit() > >> or sysfs_emit_at() when

Re: [PATCH] hv: vmbus: Convert sprintf() family to sysfs_emit() family

2024-03-25 Thread Zhijian Li (Fujitsu)
On 23/03/2024 07:37, Wei Liu wrote: > Hi Zhijian, > > On Tue, Mar 19, 2024 at 11:43:50AM +0800, Li Zhijian wrote: >> Per filesystems/sysfs.rst, show() should only use sysfs_emit() >> or sysfs_emit_at() when formatting the value to be returned to user space. >> >> coccinelle complains that there