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]
Date:   Wed, 10 Jun 2020 18:08:26 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     wang.yi59@....com.cn
Cc:     kuba@...nel.org, mst@...hat.com, hkallweit1@...il.com,
        snelson@...sando.io, andriy.shevchenko@...ux.intel.com,
        xiyou.wangcong@...il.com, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org, xue.zhihong@....com.cn,
        wang.liang82@....com.cn, liao.pingfang@....com.cn
Subject: Re: [PATCH v2] net: atm: Remove the error message according to the
 atomic context

From: Yi Wang <wang.yi59@....com.cn>
Date: Thu, 11 Jun 2020 08:38:50 +0800

> @@ -1537,7 +1537,6 @@ static struct lec_arp_table *make_entry(struct lec_priv *priv,
>  
>  	to_return = kzalloc(sizeof(struct lec_arp_table), GFP_ATOMIC);
>  	if (!to_return) {
> -		pr_info("LEC: Arp entry kmalloc failed\n");
>  		return NULL;
>  	}

This now becomes a single-statement basic block and thus the curly
braces should be removed.

Powered by blists - more mailing lists