From: Takashi Iwai <tiwai@suse.de>
To: kbuild test robot <lkp@intel.com>
Cc: "Connor McAdams" <conmanx360@gmail.com>,
kbuild-all@01.org, alsa-devel@alsa-project.org,
"Takashi Sakamoto" <o-takashi@sakamocchi.jp>,
"Jaroslav Kysela" <perex@perex.cz>,
"Jérémy Lefaure" <jeremy.lefaure@lse.epita.fr>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ALSA: hda/ca0132: fix array_size.cocci warnings
Date: Mon, 14 May 2018 21:24:40 +0200 [thread overview]
Message-ID: <s5hvabq59c7.wl-tiwai@suse.de> (raw)
In-Reply-To: <20180514190214.GA38036@athens>
On Mon, 14 May 2018 21:02:14 +0200,
kbuild test robot wrote:
>
> From: Fengguang Wu <fengguang.wu@intel.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@gmail.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Applied, thanks.
Takashi
prev parent reply other threads:[~2018-05-14 19:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201805150307.Eek1tvZf%fengguang.wu@intel.com>
2018-05-14 19:02 ` [PATCH] ALSA: hda/ca0132: fix array_size.cocci warnings kbuild test robot
2018-05-14 19:24 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hvabq59c7.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=conmanx360@gmail.com \
--cc=jeremy.lefaure@lse.epita.fr \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=o-takashi@sakamocchi.jp \
--cc=perex@perex.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox