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, 14 May 2018 21:24:40 +0200
From:   Takashi Iwai <tiwai@...e.de>
To:     kbuild test robot <lkp@...el.com>
Cc:     Connor McAdams <conmanx360@...il.com>, kbuild-all@...org,
        alsa-devel@...a-project.org,
        Takashi Sakamoto <o-takashi@...amocchi.jp>,
        Jaroslav Kysela <perex@...ex.cz>,
        Jérémy Lefaure <jeremy.lefaure@....epita.fr>,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA: hda/ca0132: fix array_size.cocci warnings

On Mon, 14 May 2018 21:02:14 +0200,
kbuild test robot wrote:
> 
> From: Fengguang Wu <fengguang.wu@...el.com>
> 
> sound/pci/hda/patch_ca0132.c:5062:50-51: WARNING: Use ARRAY_SIZE
> sound/pci/hda/patch_ca0132.c:5092:50-51: WARNING: Use ARRAY_SIZE
> 
>  Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
> 
> Semantic patch information:
>  This makes an effort to find cases where ARRAY_SIZE can be used such as
>  where there is a division of sizeof the array by the sizeof its first
>  element or by any indexed element or the element type. It replaces the
>  division of the two sizeofs by ARRAY_SIZE.
> 
> Generated by: scripts/coccinelle/misc/array_size.cocci
> 
> Fixes: 47cdf76e44e8 ("ALSA: hda/ca0132: Add new control changes for SBZ + R3Di")
> CC: Connor McAdams <conmanx360@...il.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>

Applied, thanks.


Takashi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ