public inbox for gwml@vger.gnuweeb.org
 help / color / mirror / Atom feed
From: Ammar Faizi <ammarfaizi2@gnuweeb.org>
To: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>
Subject: Re: [ammarfaizi2-block:af/dev.btrfs 10/11] fs/btrfs/fs.h:173:56: warning: left shift count >= width of type
Date: Sat, 25 Feb 2023 15:40:41 +0700	[thread overview]
Message-ID: <Y/nJiX8cthAD4kd4@biznet-home.integral.gnuweeb.org> (raw)
In-Reply-To: <202302251144.IPOtICDl-lkp@intel.com>

On Sat, Feb 25, 2023 at 11:26:21AM +0800, kernel test robot wrote:
> >> fs/btrfs/fs.h:173:56: warning: left shift count >= width of type [-Wshift-count-overflow]
>      173 |         BTRFS_MOUNT_WQ_CPU_SET                  = (1UL << 32),
>          |                                                        ^~

Got it, in that system, unsigned long is 32-bit. So it overflows.

-- 
Ammar Faizi


      reply	other threads:[~2023-02-25  8:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-25  3:26 [ammarfaizi2-block:af/dev.btrfs 10/11] fs/btrfs/fs.h:173:56: warning: left shift count >= width of type kernel test robot
2023-02-25  8:40 ` Ammar Faizi [this message]

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=Y/nJiX8cthAD4kd4@biznet-home.integral.gnuweeb.org \
    --to=ammarfaizi2@gnuweeb.org \
    --cc=gwml@vger.gnuweeb.org \
    --cc=lkp@intel.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox