All of lore.kernel.org
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead.org>
To: Stephen Rothwell <sfr@canb.auug.org.au>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Ben Widawsky <ben.widawsky@intel.com>,
	Dan Williams <dan.j.williams@intel.com>
Subject: Re: linux-next: Tree for Feb 15 (CXL on i386)
Date: Mon, 15 Feb 2021 09:35:38 -0800	[thread overview]
Message-ID: <f6121dec-1a65-bd25-03b7-bcaf22d0f3b2@infradead.org> (raw)
In-Reply-To: <20210215203421.43cc2a4a@canb.auug.org.au>

On 2/15/21 1:34 AM, Stephen Rothwell wrote:
> Hi all,
> 
> Changes since 20210212:
> 


CXL on i386 has these issue:

../drivers/cxl/mem.c:335:2: error: implicit declaration of function ‘writeq’; did you mean ‘writel’? [-Werror=implicit-function-declaration]
  writeq(cmd_reg, cxlm->mbox_regs + CXLDEV_MBOX_CMD_OFFSET);
  ^~~~~~

../drivers/cxl/mem.c:350:15: error: implicit declaration of function ‘readq’; did you mean ‘readl’? [-Werror=implicit-function-declaration]
  status_reg = readq(cxlm->mbox_regs + CXLDEV_MBOX_STATUS_OFFSET);


and lots of these (just one example here):

../drivers/cxl/cxl.h:29:47: note: in expansion of macro ‘GENMASK’
 #define   CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK GENMASK(36, 16)
                                               ^~~~~~~
../drivers/cxl/mem.c:329:25: note: in expansion of macro ‘CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK’
   cmd_reg |= FIELD_PREP(CXLDEV_MBOX_CMD_PAYLOAD_LENGTH_MASK,
                         ^
../include/linux/bits.h:36:11: warning: right shift count is negative [-Wshift-count-negative]
   (~UL(0) >> (BITS_PER_LONG - 1 - (h))))
           ^
../include/linux/bitfield.h:95:49: note: in definition of macro ‘FIELD_PREP’
   ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \
                                                 ^~~~~
../include/linux/bits.h:38:31: note: in expansion of macro ‘__GENMASK’
  (GENMASK_INPUT_CHECK(h, l) + __GENMASK(h, l))
                               ^~~~~~~~~


-- 
~Randy
Reported-by: Randy Dunlap <rdunlap@infradead.org>

      parent reply	other threads:[~2021-02-15 17:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-15  9:34 linux-next: Tree for Feb 15 Stephen Rothwell
2021-02-15 17:13 ` linux-next: Tree for Feb 15 (certs/blacklist.c) Randy Dunlap
2021-02-15 17:35 ` Randy Dunlap [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=f6121dec-1a65-bd25-03b7-bcaf22d0f3b2@infradead.org \
    --to=rdunlap@infradead.org \
    --cc=ben.widawsky@intel.com \
    --cc=dan.j.williams@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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.