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:   Tue, 31 Oct 2017 14:55:48 +0100
From:   Pali Rohár <pali.rohar@...il.com>
To:     Andy Shevchenko <andy.shevchenko@...il.com>
Cc:     Colin King <colin.king@...onical.com>,
        Darren Hart <dvhart@...radead.org>,
        Andy Shevchenko <andy@...radead.org>,
        Platform Driver <platform-driver-x86@...r.kernel.org>,
        kernel-janitors@...r.kernel.org,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] platform: x86: dell-smo8800: remove redundant
 assignments to byte_data

On Tuesday 31 October 2017 15:47:58 Andy Shevchenko wrote:
> On Tue, Oct 31, 2017 at 1:03 PM, Colin King <colin.king@...onical.com> wrote:
> > From: Colin Ian King <colin.king@...onical.com>
> >
> > Variable byte_data is being initialized and re-assigned with values that
> > are never read. Remove these as these redundant assignments. Cleans up
> > clang warning:
> >
> > drivers/platform/x86/dell-smo8800.c:106:2: warning: Value stored to 'byte_data'
> > is never read
> 
> Thanks for the patch.
> 
> As I read a code it was from the beginning like this. I dunno what was
> a motivation of this pieces, thus I would like to hear Pali.

IIRC this part of code comes from the lis3lv* driver which was used for
HP EliteBook machines. As both drivers provides similar interface for
userspace.

> Per se patch looks pretty much good to me.
> 

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ