From: kernel test robot <lkp@intel.com>
To: Maud Spierings via B4 Relay
<devnull+maudspierings.gocontroll.com@kernel.org>,
Lee Jones <lee@kernel.org>, Daniel Thompson <danielt@kernel.org>,
Jingoo Han <jingoohan1@gmail.com>,
Pavel Machek <pavel@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Helge Deller <deller@gmx.de>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-fbdev@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
Maud Spierings <maudspierings@gocontroll.com>,
MaudSpieringsmaudspierings@gocontroll.com
Subject: Re: [PATCH 2/4] backlight: add max25014atg backlight
Date: Sun, 27 Jul 2025 05:50:14 +0800 [thread overview]
Message-ID: <202507270543.G0TT6f25-lkp@intel.com> (raw)
In-Reply-To: <20250725-max25014-v1-2-0e8cce92078e@gocontroll.com>
Hi Maud,
kernel test robot noticed the following build warnings:
[auto build test WARNING on d7af19298454ed155f5cf67201a70f5cf836c842]
url: https://github.com/intel-lab-lkp/linux/commits/Maud-Spierings-via-B4-Relay/dt-bindings-backlight-Add-max25014-bindings/20250725-191221
base: d7af19298454ed155f5cf67201a70f5cf836c842
patch link: https://lore.kernel.org/r/20250725-max25014-v1-2-0e8cce92078e%40gocontroll.com
patch subject: [PATCH 2/4] backlight: add max25014atg backlight
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20250727/202507270543.G0TT6f25-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250727/202507270543.G0TT6f25-lkp@intel.com/reproduce)
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/202507270543.G0TT6f25-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/video/backlight/max25014.c:86:4: warning: variable 'res' is uninitialized when used here [-Wuninitialized]
86 | res |= 1 << i;
| ^~~
drivers/video/backlight/max25014.c:82:13: note: initialize the variable 'res' to silence this warning
82 | uint8_t res, i;
| ^
| = '\0'
1 warning generated.
vim +/res +86 drivers/video/backlight/max25014.c
73
74 /**
75 * @brief get the bit mask for the DISABLE register.
76 *
77 * @param strings the led string configuration array.
78 * @return uint8_t bits to set in the register.
79 */
80 static uint8_t strings_mask(struct max25014 *maxim)
81 {
82 uint8_t res, i;
83
84 for (i = 0; i < 4; i++) {
85 if (maxim->pdata->strings[i] == 0)
> 86 res |= 1 << i;
87 }
88 return res;
89 }
90
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-07-26 21:50 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-25 11:09 [PATCH 0/4] backlight: add new max25014 backlight driver Maud Spierings
2025-07-25 11:09 ` Maud Spierings via B4 Relay
2025-07-25 11:09 ` [PATCH 1/4] dt-bindings: backlight: Add max25014 bindings Maud Spierings
2025-07-25 11:09 ` Maud Spierings via B4 Relay
2025-07-25 13:27 ` Rob Herring (Arm)
2025-07-25 14:06 ` Maud Spierings
2025-07-25 19:51 ` Rob Herring
2025-07-28 6:33 ` Maud Spierings
2025-07-25 11:09 ` [PATCH 2/4] backlight: add max25014atg backlight Maud Spierings
2025-07-25 11:09 ` Maud Spierings via B4 Relay
2025-07-26 21:50 ` kernel test robot [this message]
2025-08-11 14:15 ` Daniel Thompson
2025-08-19 10:33 ` Maud Spierings
2025-07-25 11:09 ` [PATCH 3/4] arm64: dts: freescale: moduline-display-av101hdt-a10: add backlight Maud Spierings
2025-07-25 11:09 ` Maud Spierings via B4 Relay
2025-07-25 11:09 ` [PATCH 4/4] arm64: dts: freescale: moduline-display-av123z7m-n17: " Maud Spierings
2025-07-25 11:09 ` Maud Spierings via B4 Relay
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=202507270543.G0TT6f25-lkp@intel.com \
--to=lkp@intel.com \
--cc=MaudSpieringsmaudspierings@gocontroll.com \
--cc=conor+dt@kernel.org \
--cc=danielt@kernel.org \
--cc=deller@gmx.de \
--cc=devicetree@vger.kernel.org \
--cc=devnull+maudspierings.gocontroll.com@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=jingoohan1@gmail.com \
--cc=kernel@pengutronix.de \
--cc=krzk@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=maudspierings@gocontroll.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pavel@kernel.org \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/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.