lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 15 Nov 2020 22:16:34 +0000
From:   Michael Kelley <mikelley@...rosoft.com>
To:     Matheus Castello <matheus@...tello.eng.br>,
        KY Srinivasan <kys@...rosoft.com>,
        Haiyang Zhang <haiyangz@...rosoft.com>,
        Stephen Hemminger <sthemmin@...rosoft.com>,
        "wei.liu@...nel.org" <wei.liu@...nel.org>
CC:     "sashal@...nel.org" <sashal@...nel.org>,
        Tianyu Lan <Tianyu.Lan@...rosoft.com>,
        Dexuan Cui <decui@...rosoft.com>,
        Sunil Muthuswamy <sunilmut@...rosoft.com>,
        "linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 3/6] drivers: hv: vmbus: Fix checkpatch LINE_SPACING

From: Matheus Castello <matheus@...tello.eng.br> Sent: Sunday, November 15, 2020 11:58 AM
> 
> Fixed checkpatch warning: Missing a blank line after declarations
> checkpatch(LINE_SPACING)
> 
> Signed-off-by: Matheus Castello <matheus@...tello.eng.br>
> ---
>  drivers/hv/vmbus_drv.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
> index 52c1407c1849..61d28c743263 100644
> --- a/drivers/hv/vmbus_drv.c
> +++ b/drivers/hv/vmbus_drv.c
> @@ -156,6 +156,7 @@ static u32 channel_conn_id(struct vmbus_channel *channel,
>  {
>  	u8 monitor_group = channel_monitor_group(channel);
>  	u8 monitor_offset = channel_monitor_offset(channel);
> +
>  	return monitor_page-
> >parameter[monitor_group][monitor_offset].connectionid.u.id;
>  }
> 
> @@ -550,6 +551,7 @@ static ssize_t vendor_show(struct device *dev,
>  			   char *buf)
>  {
>  	struct hv_device *hv_dev = device_to_hv_device(dev);
> +
>  	return sprintf(buf, "0x%x\n", hv_dev->vendor_id);
>  }
>  static DEVICE_ATTR_RO(vendor);
> @@ -559,6 +561,7 @@ static ssize_t device_show(struct device *dev,
>  			   char *buf)
>  {
>  	struct hv_device *hv_dev = device_to_hv_device(dev);
> +
>  	return sprintf(buf, "0x%x\n", hv_dev->device_id);
>  }
>  static DEVICE_ATTR_RO(device);
> --
> 2.28.0

Reviewed-by: Michael Kelley <mikelley@...rosoft.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ