From: kernel test robot <lkp@intel.com>
To: Conor Dooley <conor+lkp@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [conor:can-clk-changes 7/7] include/vdso/bits.h:7:19: warning: large integer implicitly truncated to unsigned type
Date: Mon, 16 Oct 2023 10:11:57 +0800 [thread overview]
Message-ID: <202310161024.l9TPnXEB-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git can-clk-changes
head: 46c6b04fed8775eefb9f33d13ac89604bbab8eee
commit: 46c6b04fed8775eefb9f33d13ac89604bbab8eee [7/7] speculatively convert to a divider clock
config: i386-buildonly-randconfig-001-20231016 (https://download.01.org/0day-ci/archive/20231016/202310161024.l9TPnXEB-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231016/202310161024.l9TPnXEB-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/202310161024.l9TPnXEB-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> include/vdso/bits.h:7:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
#define BIT(nr) (UL(1) << (nr))
^
drivers/clk/microchip/clk-mpfs.c:187:18: note: in definition of macro 'CLK_PLL_OUT'
.output.flags = _flags, \
^~~~~~
include/linux/clk-provider.h:30:26: note: in expansion of macro 'BIT'
#define CLK_IS_CRITICAL BIT(11) /* do not gate, ever */
^~~
drivers/clk/microchip/clk-mpfs.c:197:64: note: in expansion of macro 'CLK_IS_CRITICAL'
CLK_PLL_OUT(CLK_MSSPLL, "clk_msspll2", "clk_msspll_internal", CLK_IS_CRITICAL,
^~~~~~~~~~~~~~~
>> include/vdso/bits.h:7:19: warning: large integer implicitly truncated to unsigned type [-Woverflow]
#define BIT(nr) (UL(1) << (nr))
^
drivers/clk/microchip/clk-mpfs.c:187:18: note: in definition of macro 'CLK_PLL_OUT'
.output.flags = _flags, \
^~~~~~
include/linux/clk-provider.h:30:26: note: in expansion of macro 'BIT'
#define CLK_IS_CRITICAL BIT(11) /* do not gate, ever */
^~~
drivers/clk/microchip/clk-mpfs.c:199:64: note: in expansion of macro 'CLK_IS_CRITICAL'
CLK_PLL_OUT(CLK_MSSPLL, "clk_msspll3", "clk_msspll_internal", CLK_IS_CRITICAL,
^~~~~~~~~~~~~~~
vim +7 include/vdso/bits.h
3945ff37d2f48d Vincenzo Frascino 2020-03-20 6
3945ff37d2f48d Vincenzo Frascino 2020-03-20 @7 #define BIT(nr) (UL(1) << (nr))
cbdb1f163af2bb Andy Shevchenko 2022-11-28 8 #define BIT_ULL(nr) (ULL(1) << (nr))
3945ff37d2f48d Vincenzo Frascino 2020-03-20 9
:::::: The code at line 7 was first introduced by commit
:::::: 3945ff37d2f48d39fd1751d282c80176654049e4 linux/bits.h: Extract common header for vDSO
:::::: TO: Vincenzo Frascino <vincenzo.frascino@arm.com>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-10-16 2:12 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=202310161024.l9TPnXEB-lkp@intel.com \
--to=lkp@intel.com \
--cc=conor+lkp@kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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.