From: kernel test robot <lkp@intel.com>
To: Minchan Kim <minchan@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [PATCH v5] mm: fix is_pinnable_page against on cma page
Date: Fri, 13 May 2022 12:19:27 +0800 [thread overview]
Message-ID: <202205131200.LY0TVDcM-lkp@intel.com> (raw)
In-Reply-To: <20220512204143.3961150-1-minchan@kernel.org>
Hi Minchan,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linux/master]
[also build test WARNING on linus/master v5.18-rc6]
[cannot apply to akpm-mm/mm-everything next-20220512]
[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/intel-lab-lkp/linux/commits/Minchan-Kim/mm-fix-is_pinnable_page-against-on-cma-page/20220513-044258
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0ac824f379fba2c2b17b75fd5ada69cd68c66348
config: hexagon-randconfig-r045-20220512 (https://download.01.org/0day-ci/archive/20220513/202205131200.LY0TVDcM-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 9519dacab7b8afd537811fc2abaceb4d14f4e16a)
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/intel-lab-lkp/linux/commit/cde6db32b52d5224e61443e12ccbc4c11fc583b0
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Minchan-Kim/mm-fix-is_pinnable_page-against-on-cma-page/20220513-044258
git checkout cde6db32b52d5224e61443e12ccbc4c11fc583b0
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/iio/adc/ drivers/mmc/core/
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 >>):
In file included from drivers/iio/adc/fsl-imx25-gcq.c:18:
In file included from include/linux/regulator/consumer.h:35:
In file included from include/linux/suspend.h:5:
In file included from include/linux/swap.h:9:
In file included from include/linux/memcontrol.h:20:
include/linux/mm.h:1603:23: error: use of undeclared identifier '__mt'
int mt = __READ_ONCE(__mt);
^
include/linux/mm.h:1603:23: error: use of undeclared identifier '__mt'
>> drivers/iio/adc/fsl-imx25-gcq.c:115:8: warning: shift count is negative [-Wshift-count-negative]
MX25_ADCQ_ITEM(0, chan->channel));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mfd/imx25-tsadc.h:54:3: note: expanded from macro 'MX25_ADCQ_ITEM'
_MX25_ADCQ_ITEM((item) - 8, (x)) : _MX25_ADCQ_ITEM((item), (x)))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/mfd/imx25-tsadc.h:52:39: note: expanded from macro '_MX25_ADCQ_ITEM'
#define _MX25_ADCQ_ITEM(item, x) ((x) << ((item) * 4))
^ ~~~~~~~~~~~~
1 warning and 2 errors generated.
--
In file included from drivers/mmc/core/mmc.c:17:
In file included from include/linux/mmc/host.h:18:
In file included from include/linux/blk-crypto-profile.h:9:
In file included from include/linux/bio.h:10:
In file included from include/linux/blk_types.h:10:
In file included from include/linux/bvec.h:10:
In file included from include/linux/highmem.h:9:
include/linux/mm.h:1603:23: error: use of undeclared identifier '__mt'
int mt = __READ_ONCE(__mt);
^
include/linux/mm.h:1603:23: error: use of undeclared identifier '__mt'
>> drivers/mmc/core/mmc.c:108:22: warning: shift count >= width of type [-Wshift-count-overflow]
card->cid.serial = UNSTUFF_BITS(resp, 16, 32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mmc/core/mmc.c:56:39: note: expanded from macro 'UNSTUFF_BITS'
const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
^ ~~~~~~
1 warning and 2 errors generated.
--
In file included from drivers/mmc/core/sd.c:15:
In file included from include/linux/scatterlist.h:8:
include/linux/mm.h:1603:23: error: use of undeclared identifier '__mt'
int mt = __READ_ONCE(__mt);
^
include/linux/mm.h:1603:23: error: use of undeclared identifier '__mt'
>> drivers/mmc/core/sd.c:99:22: warning: shift count >= width of type [-Wshift-count-overflow]
card->cid.serial = UNSTUFF_BITS(resp, 24, 32);
^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/mmc/core/sd.c:60:39: note: expanded from macro 'UNSTUFF_BITS'
const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \
^ ~~~~~~
1 warning and 2 errors generated.
vim +115 drivers/iio/adc/fsl-imx25-gcq.c
6df2e98c3ea567 Markus Pargmann 2015-12-14 104
6df2e98c3ea567 Markus Pargmann 2015-12-14 105 static int mx25_gcq_get_raw_value(struct device *dev,
6df2e98c3ea567 Markus Pargmann 2015-12-14 106 struct iio_chan_spec const *chan,
6df2e98c3ea567 Markus Pargmann 2015-12-14 107 struct mx25_gcq_priv *priv,
6df2e98c3ea567 Markus Pargmann 2015-12-14 108 int *val)
6df2e98c3ea567 Markus Pargmann 2015-12-14 109 {
6df2e98c3ea567 Markus Pargmann 2015-12-14 110 long timeout;
6df2e98c3ea567 Markus Pargmann 2015-12-14 111 u32 data;
6df2e98c3ea567 Markus Pargmann 2015-12-14 112
6df2e98c3ea567 Markus Pargmann 2015-12-14 113 /* Setup the configuration we want to use */
6df2e98c3ea567 Markus Pargmann 2015-12-14 114 regmap_write(priv->regs, MX25_ADCQ_ITEM_7_0,
6df2e98c3ea567 Markus Pargmann 2015-12-14 @115 MX25_ADCQ_ITEM(0, chan->channel));
6df2e98c3ea567 Markus Pargmann 2015-12-14 116
6df2e98c3ea567 Markus Pargmann 2015-12-14 117 regmap_update_bits(priv->regs, MX25_ADCQ_MR, MX25_ADCQ_MR_EOQ_IRQ, 0);
6df2e98c3ea567 Markus Pargmann 2015-12-14 118
6df2e98c3ea567 Markus Pargmann 2015-12-14 119 /* Trigger queue for one run */
6df2e98c3ea567 Markus Pargmann 2015-12-14 120 regmap_update_bits(priv->regs, MX25_ADCQ_CR, MX25_ADCQ_CR_FQS,
6df2e98c3ea567 Markus Pargmann 2015-12-14 121 MX25_ADCQ_CR_FQS);
6df2e98c3ea567 Markus Pargmann 2015-12-14 122
6df2e98c3ea567 Markus Pargmann 2015-12-14 123 timeout = wait_for_completion_interruptible_timeout(
6df2e98c3ea567 Markus Pargmann 2015-12-14 124 &priv->completed, MX25_GCQ_TIMEOUT);
6df2e98c3ea567 Markus Pargmann 2015-12-14 125 if (timeout < 0) {
6df2e98c3ea567 Markus Pargmann 2015-12-14 126 dev_err(dev, "ADC wait for measurement failed\n");
6df2e98c3ea567 Markus Pargmann 2015-12-14 127 return timeout;
6df2e98c3ea567 Markus Pargmann 2015-12-14 128 } else if (timeout == 0) {
6df2e98c3ea567 Markus Pargmann 2015-12-14 129 dev_err(dev, "ADC timed out\n");
6df2e98c3ea567 Markus Pargmann 2015-12-14 130 return -ETIMEDOUT;
6df2e98c3ea567 Markus Pargmann 2015-12-14 131 }
6df2e98c3ea567 Markus Pargmann 2015-12-14 132
6df2e98c3ea567 Markus Pargmann 2015-12-14 133 regmap_read(priv->regs, MX25_ADCQ_FIFO, &data);
6df2e98c3ea567 Markus Pargmann 2015-12-14 134
6df2e98c3ea567 Markus Pargmann 2015-12-14 135 *val = MX25_ADCQ_FIFO_DATA(data);
6df2e98c3ea567 Markus Pargmann 2015-12-14 136
6df2e98c3ea567 Markus Pargmann 2015-12-14 137 return IIO_VAL_INT;
6df2e98c3ea567 Markus Pargmann 2015-12-14 138 }
6df2e98c3ea567 Markus Pargmann 2015-12-14 139
--
0-DAY CI Kernel Test Service
https://01.org/lkp
prev parent reply other threads:[~2022-05-13 4:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-12 20:41 [PATCH v5] mm: fix is_pinnable_page against on cma page Minchan Kim
2022-05-12 20:51 ` John Hubbard
2022-05-12 20:54 ` Minchan Kim
2022-05-13 3:48 ` kernel test robot
2022-05-13 4:19 ` kernel test robot [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=202205131200.LY0TVDcM-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=llvm@lists.linux.dev \
--cc=minchan@kernel.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.