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:	Mon, 31 May 2010 00:32:05 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	sjurbren@...il.com
Cc:	error27@...il.com, wharms@....de, netdev@...r.kernel.org,
	sjur.brandeland@...ricsson.com, sfr@...b.auug.org.au,
	kernel-janitors@...r.kernel.org
Subject: Re: [patch v2] caif: cleanup: remove duplicate checks

From: Sjur Brændeland <sjurbren@...il.com>
Date: Mon, 24 May 2010 22:47:41 +0200

>  Dan Carpenter <error27@...il.com> wrote:
>> "phyinfo" can never be null here because we assigned it an address, so I
>> removed both the assert and the second check inside the if statement.  I
>> removed the "phyinfo->phy_layer != NULL" check as well because that was
>> asserted earlier.
>>
>> Walter Harms suggested I move the "phyinfo->phy_ref_count++;" outside
>> the if condition for readability, so I have done that.
>>
>> Signed-off-by: Dan Carpenter <error27@...il.com>
> Acked-by: Sjur Braendeland <sjur.brandeland@...ricsson.com>
> Thanks, this looks good.

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ