All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Florian Westphal <fw@strlen.de>, mptcp@lists.linux.dev
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
	Florian Westphal <fw@strlen.de>
Subject: Re: [PATCH mptcp-next v2 5/5] selftests: mptcp: add mptcp getsockopt test cases
Date: Tue, 17 Aug 2021 10:17:58 +0800	[thread overview]
Message-ID: <202108171015.ieEZ7vDV-lkp@intel.com> (raw)
In-Reply-To: <20210816162636.25611-6-fw@strlen.de>

[-- Attachment #1: Type: text/plain, Size: 2568 bytes --]

Hi Florian,

I love your patch! Perhaps something to improve:

[auto build test WARNING on kselftest/next]
[also build test WARNING on mptcp/export linus/master v5.14-rc6 next-20210816]
[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]

url:    https://github.com/0day-ci/linux/commits/Florian-Westphal/mptcp-add-SOL_MPTCP-getsockopt-support/20210817-003412
base:   https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next
config: i386-randconfig-a012-20210816 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 44d0a99a12ec7ead4d2f5ef649ba05b40f6d463d)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/7eb1b6e289708ffa4da5aa98540a83a8b22bc452
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Florian-Westphal/mptcp-add-SOL_MPTCP-getsockopt-support/20210817-003412
        git checkout 7eb1b6e289708ffa4da5aa98540a83a8b22bc452
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> mptcp_sockopt.c:536:2: warning: variable 'fd' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
           default:
           ^~~~~~~
   mptcp_sockopt.c:545:14: note: uninitialized use occurs here
           r = xaccept(fd);
                       ^~
   mptcp_sockopt.c:527:8: note: initialize the variable 'fd' to silence this warning
           int fd, r;
                 ^
                  = 0
   mptcp_sockopt.c:565:2: warning: variable 'fd' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
           default:
           ^~~~~~~
   mptcp_sockopt.c:569:21: note: uninitialized use occurs here
           connect_one_server(fd);
                              ^~
   mptcp_sockopt.c:554:8: note: initialize the variable 'fd' to silence this warning
           int fd;
                 ^
                  = 0
   2 warnings generated.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38223 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH mptcp-next v2 5/5] selftests: mptcp: add mptcp getsockopt test cases
Date: Tue, 17 Aug 2021 10:17:58 +0800	[thread overview]
Message-ID: <202108171015.ieEZ7vDV-lkp@intel.com> (raw)
In-Reply-To: <20210816162636.25611-6-fw@strlen.de>

[-- Attachment #1: Type: text/plain, Size: 2624 bytes --]

Hi Florian,

I love your patch! Perhaps something to improve:

[auto build test WARNING on kselftest/next]
[also build test WARNING on mptcp/export linus/master v5.14-rc6 next-20210816]
[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]

url:    https://github.com/0day-ci/linux/commits/Florian-Westphal/mptcp-add-SOL_MPTCP-getsockopt-support/20210817-003412
base:   https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git next
config: i386-randconfig-a012-20210816 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 44d0a99a12ec7ead4d2f5ef649ba05b40f6d463d)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/7eb1b6e289708ffa4da5aa98540a83a8b22bc452
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Florian-Westphal/mptcp-add-SOL_MPTCP-getsockopt-support/20210817-003412
        git checkout 7eb1b6e289708ffa4da5aa98540a83a8b22bc452
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> mptcp_sockopt.c:536:2: warning: variable 'fd' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
           default:
           ^~~~~~~
   mptcp_sockopt.c:545:14: note: uninitialized use occurs here
           r = xaccept(fd);
                       ^~
   mptcp_sockopt.c:527:8: note: initialize the variable 'fd' to silence this warning
           int fd, r;
                 ^
                  = 0
   mptcp_sockopt.c:565:2: warning: variable 'fd' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
           default:
           ^~~~~~~
   mptcp_sockopt.c:569:21: note: uninitialized use occurs here
           connect_one_server(fd);
                              ^~
   mptcp_sockopt.c:554:8: note: initialize the variable 'fd' to silence this warning
           int fd;
                 ^
                  = 0
   2 warnings generated.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38223 bytes --]

  reply	other threads:[~2021-08-17  2:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-16 16:26 [PATCH mptcp-next v2 0/5] mptcp: add SOL_MPTCP getsockopt support Florian Westphal
2021-08-16 16:26 ` [PATCH mptcp-next v2 1/5] mptcp: add new mptcp_fill_diag helper Florian Westphal
2021-08-16 16:26 ` [PATCH mptcp-next v2 2/5] mptcp: add MPTCP_INFO getsockopt Florian Westphal
2021-08-16 16:26 ` [PATCH mptcp-next v2 3/5] mptcp: add MPTCP_TCPINFO getsockopt support Florian Westphal
2021-08-18  0:54   ` Mat Martineau
2021-08-16 16:26 ` [PATCH mptcp-next v2 4/5] mptcp: add MPTCP_SUBFLOW_ADDRS " Florian Westphal
2021-08-18  0:31   ` Mat Martineau
2021-08-16 16:26 ` [PATCH mptcp-next v2 5/5] selftests: mptcp: add mptcp getsockopt test cases Florian Westphal
2021-08-17  2:17   ` kernel test robot [this message]
2021-08-17  2:17     ` kernel test robot
2021-08-18  0:51   ` Mat Martineau

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=202108171015.ieEZ7vDV-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=fw@strlen.de \
    --cc=kbuild-all@lists.01.org \
    --cc=mptcp@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.