All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: drivers/staging/octeon/ethernet-util.h:17 cvm_oct_get_buffer_ptr() warn: should '((packet_ptr.s.addr >> 7) - packet_ptr.s.back) << 7' be a 64 bit
Date: Thu, 17 Dec 2020 21:59:18 +0800	[thread overview]
Message-ID: <202012172111.8bRsxLfd-lkp@intel.com> (raw)

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

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Chris Packham <chris.packham@alliedtelesis.co.nz>
CC: "Greg Kroah-Hartman" <gregkh@linuxfoundation.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   accefff5b547a9a1d959c7e76ad539bf2480e78b
commit: 8ef0c4f06432b5b2f4e32f37b81708eae1e20c8c Revert "staging/octeon: Mark Ethernet driver as BROKEN"
date:   10 months ago
:::::: branch date: 13 hours ago
:::::: commit date: 10 months ago
config: nios2-randconfig-m031-20201217 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0

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

smatch warnings:
drivers/staging/octeon/ethernet-util.h:17 cvm_oct_get_buffer_ptr() warn: should '((packet_ptr.s.addr >> 7) - packet_ptr.s.back) << 7' be a 64 bit type?

vim +17 drivers/staging/octeon/ethernet-util.h

422d97b8b05ed38 Chris Packham 2020-02-05 @17  				<< 7);
422d97b8b05ed38 Chris Packham 2020-02-05  18  }
422d97b8b05ed38 Chris Packham 2020-02-05  19  

:::::: The code@line 17 was first introduced by commit
:::::: 422d97b8b05ed38cc5f67522ddb821868ea272a7 Revert "staging: octeon: delete driver"

:::::: TO: Chris Packham <chris.packham@alliedtelesis.co.nz>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
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: 34914 bytes --]

             reply	other threads:[~2020-12-17 13:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-17 13:59 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-09-24 12:40 drivers/staging/octeon/ethernet-util.h:17 cvm_oct_get_buffer_ptr() warn: should '((packet_ptr.s.addr >> 7) - packet_ptr.s.back) << 7' be a 64 bit 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=202012172111.8bRsxLfd-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.