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]
Message-ID: <20190223071812.GE1737@kadam>
Date:   Sat, 23 Feb 2019 10:18:12 +0300
From:   Dan Carpenter <dan.carpenter@...cle.com>
To:     Bo YU <tsu.yubo@...il.com>
Cc:     gregkh@...uxfoundation.org, sergio.paracuellos@...il.com,
        quytelda@...alin.org, devel@...verdev.osuosl.org,
        linux-kernel@...r.kernel.org, yuzibode@....com
Subject: Re: [PATCH] staging/ks7070: Removed unused varibale

On Sat, Feb 23, 2019 at 01:39:39AM -0500, Bo YU wrote:
> From: Bo Yu <tsu.yubo@...il.com>
> 
> Compiling the kernel with W=1 results in the following warning:
> 
> drivers/staging/ks7010/ks_hostif.c:465:6: warning: variable ‘mib_val_type’
> set but not used [-Wunused-but-set-variable]
>   u16 mib_val_type;
> 
> drivers/staging/ks7010/ks_hostif.c:464:6: warning: variable ‘mib_val_size’
> set but not used [-Wunused-but-set-variable]
>     u16 mib_val_size;
> 
> drivers/staging/ks7010/ks_hostif.c:786:6: warning: variable ‘result_code’
> set but not used [-Wunused-but-set-variable]
>       u16 result_code;
> 
> Remove these variables.
> 
> Rebase on next-20190222
  ^^^^^^^^^^^^^^^^^^^^^^^
Is this a v2 patch or something?  Don't include this in the changelog.
Put it under the --- cut off line.

> 
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: Sergio Paracuellos <sergio.paracuellos@...il.com>
> Cc: Quytelda Kahja <quytelda@...alin.org>
> 
> Signed-off-by: Bo Yu <tsu.yubo@...il.com>
> ---
  ^^^

>  drivers/staging/ks7010/ks_hostif.c | 6 ------
>  1 file changed, 6 deletions(-)
> 

regards,
dan carpenter

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ