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] [day] [month] [year] [list]
Message-ID: <9be574bf-570d-c813-f18f-9ba5214021e1@castello.eng.br>
Date:   Wed, 25 Nov 2020 00:14:28 -0300
From:   Matheus Castello <matheus@...tello.eng.br>
To:     Joe Perches <joe@...ches.com>,
        Michael Kelley <mikelley@...rosoft.com>
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>,
        KY Srinivasan <kys@...rosoft.com>,
        Haiyang Zhang <haiyangz@...rosoft.com>,
        "wei.liu@...nel.org" <wei.liu@...nel.org>,
        Stephen Hemminger <sthemmin@...rosoft.com>
Subject: Re: [PATCH 4/6] drivers: hv: vmbus: Fix checkpatch SPLIT_STRING



Em 11/24/2020 11:56 PM, Joe Perches escreveu:
> On Tue, 2020-11-24 at 21:54 -0300, Matheus Castello wrote:
>>>> diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
> []
>>> The above would be marginally better if organized as follows so that the
>>> main execution path isn't in an "if" clause.  Also reduces indentation.
>>>
>>> 	hv_panic_page = (void *)hv_alloc_hyperv_zeroed_page();
>>> 	if (!hv_panic_page) {
>>> 		pr_err("Hyper-V: panic message page memory allocation failed");
> 
> And nicer to add a terminating newline to the format like the pr_err below.
>

Oops, sending v3. Thanks Joe Perches!

>>> 		return;
>>> 	}
>>> 	ret = kmsg_dump_register(&hv_kmsg_dumper);
>>> 	if (ret) {
>>> 		pr_err("Hyper-V: kmsg dump register error 0x%x\n", ret);
>>> 		hv_free_hyperv_page((unsigned long)hv_panic_page);
>>> 		hv_panic_page = NULL;
>>> 	}
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ