All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Xianwei Zhao <xianwei.zhao@amlogic.com>
Cc: oe-kbuild-all@lists.linux.dev, Linus Walleij <linus.walleij@linaro.org>
Subject: [linux-next:master 5979/13068] drivers/pinctrl/meson/pinctrl-amlogic-a4.c:859:2-3: Unneeded semicolon
Date: Fri, 21 Mar 2025 23:54:06 +0800	[thread overview]
Message-ID: <202503212354.Hx2qaDRe-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9388ec571cb1adba59d1cded2300eeb11827679c
commit: 6e9be3abb78c2f6c97a51070004a5165702f0ed9 [5979/13068] pinctrl: Add driver support for Amlogic SoCs
config: arm64-randconfig-r051-20250321 (https://download.01.org/0day-ci/archive/20250321/202503212354.Hx2qaDRe-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
rustc: rustc 1.78.0 (9b00956e5 2024-04-29)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503212354.Hx2qaDRe-lkp@intel.com/

cocci warnings: (new ones prefixed by >>)
>> drivers/pinctrl/meson/pinctrl-amlogic-a4.c:859:2-3: Unneeded semicolon

vim +859 drivers/pinctrl/meson/pinctrl-amlogic-a4.c

   842	
   843	static void init_bank_register_bit(struct aml_pinctrl *info,
   844					   struct aml_gpio_bank *bank)
   845	{
   846		const struct aml_pctl_data *data = info->data;
   847		const struct aml_reg_bit *aml_rb;
   848		bool def_offs = true;
   849		int i;
   850	
   851		if (data) {
   852			for (i = 0; i < data->number; i++) {
   853				aml_rb = &data->rb_offs[i];
   854				if (bank->bank_id == aml_rb->bank_id) {
   855					def_offs = false;
   856					break;
   857				}
   858			}
 > 859		};
   860	
   861		if (def_offs) {
   862			for (i = 0; i < AML_NUM_REG; i++) {
   863				bank->pc.reg_offset[i] = aml_def_regoffs[i];
   864				bank->pc.bit_offset[i] = 0;
   865			}
   866		} else {
   867			for (i = 0; i < AML_NUM_REG; i++) {
   868				bank->pc.reg_offset[i] = aml_rb->reg_offs[i];
   869				bank->pc.bit_offset[i] = aml_rb->bit_offs[i];
   870			}
   871		}
   872	}
   873	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2025-03-21 15:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202503212354.Hx2qaDRe-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linus.walleij@linaro.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=xianwei.zhao@amlogic.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.