From: kernel test robot <lkp@intel.com>
To: Scott Branden <scott.branden@broadcom.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: <command-line>: warning: '_ttyVK' directive output may be truncated writing 6 bytes into a region of size between 3 and 12
Date: Wed, 1 Jan 2025 20:01:07 +0800 [thread overview]
Message-ID: <202501011951.6nEbRUVn-lkp@intel.com> (raw)
Hi Scott,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: ccb98ccef0e543c2bd4ef1a72270461957f3d8d0
commit: 91ca10d6fa0720e35596c720e494d9c18624418a misc: bcm-vk: add ttyVK support
date: 3 years, 11 months ago
config: csky-randconfig-r053-20231127 (https://download.01.org/0day-ci/archive/20250101/202501011951.6nEbRUVn-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 12.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250101/202501011951.6nEbRUVn-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/202501011951.6nEbRUVn-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/misc/bcm-vk/bcm_vk_dev.c: In function 'bcm_vk_probe':
>> <command-line>: warning: '_ttyVK' directive output may be truncated writing 6 bytes into a region of size between 3 and 12 [-Wformat-truncation=]
drivers/misc/bcm-vk/bcm_vk_dev.c:1454:38: note: in expansion of macro 'KBUILD_MODNAME'
1454 | snprintf(name, sizeof(name), KBUILD_MODNAME ".%d_ttyVK", id);
| ^~~~~~~~~~~~~~
drivers/misc/bcm-vk/bcm_vk_dev.c:1454:9: note: 'snprintf' output between 15 and 24 bytes into a destination of size 20
1454 | snprintf(name, sizeof(name), KBUILD_MODNAME ".%d_ttyVK", id);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next reply other threads:[~2025-01-01 12:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-01 12:01 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-07 2:41 kernel test robot
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=202501011951.6nEbRUVn-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=scott.branden@broadcom.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®