rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Sergio González Collado" <sergio.collado@gmail.com>,
	"Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Wedson Almeida Filho" <wedsonaf@gmail.com>,
	"Brendan Higgins" <brendan.higgins@linux.dev>,
	"David Gow" <davidgow@google.com>,
	linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com
Cc: oe-kbuild-all@lists.linux.dev,
	"Boqun Feng" <boqun.feng@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <benno.lossin@proton.me>,
	"Andreas Hindborg" <a.hindborg@samsung.com>,
	"Alice Ryhl" <aliceryhl@google.com>,
	rust-for-linux@vger.kernel.org
Subject: Re: [PATCH] Kunit to check the longest symbol length
Date: Wed, 8 Nov 2023 03:34:50 +0800	[thread overview]
Message-ID: <202311080319.fCEp5dTC-lkp@intel.com> (raw)
In-Reply-To: <20231105184010.49194-1-sergio.collado@gmail.com>

Hi Sergio,

kernel test robot noticed the following build warnings:

[auto build test WARNING on linus/master]
[also build test WARNING on v6.6 next-20231107]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Sergio-Gonz-lez-Collado/Kunit-to-check-the-longest-symbol-length/20231106-024653
base:   linus/master
patch link:    https://lore.kernel.org/r/20231105184010.49194-1-sergio.collado%40gmail.com
patch subject: [PATCH] Kunit to check the longest symbol length
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20231108/202311080319.fCEp5dTC-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231108/202311080319.fCEp5dTC-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/202311080319.fCEp5dTC-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> lib/longest_symbol_kunit.c:16:18: warning: no previous prototype for 'snnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7n' [-Wmissing-prototypes]
      16 | #define DI(name) s##name##name
         |                  ^
   lib/longest_symbol_kunit.c:17:19: note: in expansion of macro 'DI'
      17 | #define DDI(name) DI(n##name##name)
         |                   ^~
   lib/longest_symbol_kunit.c:18:20: note: in expansion of macro 'DDI'
      18 | #define DDDI(name) DDI(n##name##name)
         |                    ^~~
   lib/longest_symbol_kunit.c:19:21: note: in expansion of macro 'DDDI'
      19 | #define DDDDI(name) DDDI(n##name##name)
         |                     ^~~~
   lib/longest_symbol_kunit.c:20:22: note: in expansion of macro 'DDDDI'
      20 | #define DDDDDI(name) DDDDI(n##name##name)
         |                      ^~~~~
   lib/longest_symbol_kunit.c:25:27: note: in expansion of macro 'DDDDDI'
      25 | #define LONGEST_SYM_NAME  DDDDDI(g1h2i3j4k5l6m7n)
         |                           ^~~~~~
   lib/longest_symbol_kunit.c:33:14: note: in expansion of macro 'LONGEST_SYM_NAME'
      33 | noinline int LONGEST_SYM_NAME(void)
         |              ^~~~~~~~~~~~~~~~
   In file included from <command-line>:
   lib/longest_symbol_kunit.c:16:18: warning: no previous prototype for 'snnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7ne' [-Wmissing-prototypes]
      16 | #define DI(name) s##name##name
         |                  ^
   include/linux/compiler_types.h:83:23: note: in definition of macro '___PASTE'
      83 | #define ___PASTE(a,b) a##b
         |                       ^
   lib/longest_symbol_kunit.c:22:21: note: in expansion of macro '__PASTE'
      22 | #define PLUS1(name) __PASTE(name, e)
         |                     ^~~~~~~
   lib/longest_symbol_kunit.c:28:32: note: in expansion of macro 'PLUS1'
      28 | #define LONGEST_SYM_NAME_PLUS1 PLUS1(LONGEST_SYM_NAME)
         |                                ^~~~~
   lib/longest_symbol_kunit.c:17:19: note: in expansion of macro 'DI'
      17 | #define DDI(name) DI(n##name##name)
         |                   ^~
   lib/longest_symbol_kunit.c:18:20: note: in expansion of macro 'DDI'
      18 | #define DDDI(name) DDI(n##name##name)
         |                    ^~~
   lib/longest_symbol_kunit.c:19:21: note: in expansion of macro 'DDDI'
      19 | #define DDDDI(name) DDDI(n##name##name)
         |                     ^~~~
   lib/longest_symbol_kunit.c:20:22: note: in expansion of macro 'DDDDI'
      20 | #define DDDDDI(name) DDDDI(n##name##name)
         |                      ^~~~~
   lib/longest_symbol_kunit.c:25:27: note: in expansion of macro 'DDDDDI'
      25 | #define LONGEST_SYM_NAME  DDDDDI(g1h2i3j4k5l6m7n)
         |                           ^~~~~~
   lib/longest_symbol_kunit.c:28:38: note: in expansion of macro 'LONGEST_SYM_NAME'
      28 | #define LONGEST_SYM_NAME_PLUS1 PLUS1(LONGEST_SYM_NAME)
         |                                      ^~~~~~~~~~~~~~~~
   lib/longest_symbol_kunit.c:38:14: note: in expansion of macro 'LONGEST_SYM_NAME_PLUS1'
      38 | noinline int LONGEST_SYM_NAME_PLUS1(void)
         |              ^~~~~~~~~~~~~~~~~~~~~~


vim +/snnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nnng1h2i3j4k5l6m7ng1h2i3j4k5l6m7nng1h2i3j4k5l6m7ng1h2i3j4k5l6m7n +16 lib/longest_symbol_kunit.c

    15	
  > 16	#define DI(name) s##name##name
    17	#define DDI(name) DI(n##name##name)
    18	#define DDDI(name) DDI(n##name##name)
    19	#define DDDDI(name) DDDI(n##name##name)
    20	#define DDDDDI(name) DDDDI(n##name##name)
    21	

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

  parent reply	other threads:[~2023-11-07 19:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-05 18:40 [PATCH] Kunit to check the longest symbol length Sergio González Collado
2023-11-05 19:25 ` Martin Rodriguez Reboredo
2023-11-05 20:33 ` Benno Lossin
2023-11-05 20:40   ` Benno Lossin
2023-11-07  0:30 ` kernel test robot
2023-11-07 19:34 ` kernel test robot [this message]
2023-11-10 15:55 ` Martin Rodriguez Reboredo

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=202311080319.fCEp5dTC-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=a.hindborg@samsung.com \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=benno.lossin@proton.me \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=brendan.higgins@linux.dev \
    --cc=davidgow@google.com \
    --cc=gary@garyguo.net \
    --cc=kunit-dev@googlegroups.com \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=sergio.collado@gmail.com \
    --cc=wedsonaf@gmail.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;
as well as URLs for NNTP newsgroup(s).