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:   Thu, 22 Dec 2016 09:57:41 +0100
From:   Pali Rohár <pali.rohar@...il.com>
To:     Chris Lapa <chris@...a.com.au>
Cc:     afd@...com, sre@...nel.org, linux-pm@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH 09/10] power: supplies: bq275xx: adds specific support for bq27520-g4 revision.

On Thursday 22 December 2016 02:22:22 Chris Lapa wrote:
> @@ -925,7 +963,7 @@ static bool bq27xxx_battery_overtemp(struct
> if (di->chip == BQ275XX || di->chip == BQ27500 || di->chip == BQ27510G1
> 
>  			|| di->chip == BQ27510G2 || di->chip == BQ27510G3 || di->chip ==
>  			|| BQ27541 di->chip == BQ27520G1 || di->chip == BQ27520G2 ||
>  			|| di->chip == BQ27520G3
> 
> -			|| di->chip == BQ27545)
> +			|| di->chip == BQ27520G4 || di->chip == BQ27545)

Please move this check for BQ275XX into static inline function.

-- 
Pali Rohár
pali.rohar@...il.com

Download attachment "signature.asc " of type "application/pgp-signature" (199 bytes)

Powered by blists - more mailing lists