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:   Fri, 17 Apr 2020 16:08:09 +0200
From:   Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>
To:     Jason Yan <yanaijie@...wei.com>
Cc:     paulus@...ba.org, daniel.vetter@...ll.ch,
        linux-fbdev@...r.kernel.org, dri-devel@...ts.freedesktop.org,
        linux-kernel@...r.kernel.org, Hulk Robot <hulkci@...wei.com>
Subject: Re: [PATCH] video: fbdev: aty128fb: remove unused 'sdr_64'


On 4/17/20 11:23 AM, Jason Yan wrote:
> Fix the following gcc warning:
> 
> drivers/video/fbdev/aty/aty128fb.c:337:36: warning: ‘sdr_64’ defined but
> not used [-Wunused-const-variable=]
>  static const struct aty128_meminfo sdr_64 = {
>                                     ^~~~~~
> 
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Jason Yan <yanaijie@...wei.com>

Patch queued for v5.8, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics

> ---
>  drivers/video/fbdev/aty/aty128fb.c | 14 --------------
>  1 file changed, 14 deletions(-)
> 
> diff --git a/drivers/video/fbdev/aty/aty128fb.c b/drivers/video/fbdev/aty/aty128fb.c
> index d7e41c8dd533..d05d4195acad 100644
> --- a/drivers/video/fbdev/aty/aty128fb.c
> +++ b/drivers/video/fbdev/aty/aty128fb.c
> @@ -334,20 +334,6 @@ static const struct aty128_meminfo sdr_128 = {
>  	.name = "128-bit SDR SGRAM (1:1)",
>  };
>  
> -static const struct aty128_meminfo sdr_64 = {
> -	.ML = 4,
> -	.MB = 8,
> -	.Trcd = 3,
> -	.Trp = 3,
> -	.Twr = 1,
> -	.CL = 3,
> -	.Tr2w = 1,
> -	.LoopLatency = 17,
> -	.DspOn = 46,
> -	.Rloop = 17,
> -	.name = "64-bit SDR SGRAM (1:1)",
> -};
> -
>  static const struct aty128_meminfo sdr_sgram = {
>  	.ML = 4,
>  	.MB = 4,
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ