All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: arch/m68k/include/asm/bitops.h:216 arch___test_and_set_bit() warn: signedness bug returning '(-128)'
Date: Tue, 30 Aug 2022 18:12:45 +0800	[thread overview]
Message-ID: <202208301849.ufEmY96P-lkp@intel.com> (raw)

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

BCC: lkp(a)intel.com
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Alexander Lobakin <alexandr.lobakin@intel.com>
CC: Yury Norov <yury.norov@gmail.com>
CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   dcf8e5633e2e69ad60b730ab5905608b756a032f
commit: 0e862838f290147ea9c16db852d8d494b552d38d bitops: unify non-atomic bitops prototypes across architectures
date:   9 weeks ago
:::::: branch date: 14 hours ago
:::::: commit date: 9 weeks ago
config: m68k-randconfig-m041-20220830 (https://download.01.org/0day-ci/archive/20220830/202208301849.ufEmY96P-lkp(a)intel.com/config)
compiler: m68k-linux-gcc (GCC) 12.1.0

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
arch/m68k/include/asm/bitops.h:216 arch___test_and_set_bit() warn: signedness bug returning '(-128)'

vim +216 arch/m68k/include/asm/bitops.h

171d809df1896c Greg Ungerer      2011-05-17  212  
0e862838f29014 Alexander Lobakin 2022-06-24  213  static __always_inline bool
0e862838f29014 Alexander Lobakin 2022-06-24  214  arch___test_and_set_bit(unsigned long nr, volatile unsigned long *addr)
0e862838f29014 Alexander Lobakin 2022-06-24  215  {
0e862838f29014 Alexander Lobakin 2022-06-24 @216  	return test_and_set_bit(nr, addr);
0e862838f29014 Alexander Lobakin 2022-06-24  217  }
171d809df1896c Greg Ungerer      2011-05-17  218  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

             reply	other threads:[~2022-08-30 10:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30 10:12 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-08-30 20:26 arch/m68k/include/asm/bitops.h:216 arch___test_and_set_bit() warn: signedness bug returning '(-128)' kernel test robot
2022-09-16  0:53 kernel test robot
2022-09-16 13:09 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=202208301849.ufEmY96P-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.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.