linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Vincent Whitchurch <vincent.whitchurch@axis.com>,
	vigneshr@ti.com, richard@nod.at, miquel.raynal@bootlin.com,
	joern@lazybastard.org
Cc: kbuild-all@lists.01.org, kernel@axis.com,
	Vincent Whitchurch <vincent.whitchurch@axis.com>,
	linux-mtd@lists.infradead.org, devicetree@vger.kernel.org,
	robh+dt@kernel.org, krzk+dt@kernel.org, frowand.list@gmail.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 4/4] mtd: phram: Allow cached mappings
Date: Wed, 13 Apr 2022 14:45:59 +0800	[thread overview]
Message-ID: <202204131446.omJ5mC54-lkp@intel.com> (raw)
In-Reply-To: <20220412135302.1682890-5-vincent.whitchurch@axis.com>

Hi Vincent,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on mtd/mtd/next]
[also build test ERROR on mtd/mtd/fixes robh/for-next v5.18-rc2 next-20220412]
[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/Vincent-Whitchurch/mtd-phram-improvements/20220412-215547
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20220413/202204131446.omJ5mC54-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 11.2.0
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/188069fe016214c257926df29c84b97859850720
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Vincent-Whitchurch/mtd-phram-improvements/20220412-215547
        git checkout 188069fe016214c257926df29c84b97859850720
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=sh SHELL=/bin/bash drivers/mtd/devices/

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

All errors (new ones prefixed by >>):

   In file included from include/linux/io.h:13,
                    from drivers/mtd/devices/phram.c:21:
   drivers/mtd/devices/phram.c: In function 'register_device':
>> arch/sh/include/asm/io.h:274:33: error: expected expression before 'do'
     274 | #define iounmap(addr)           do { } while (0)
         |                                 ^~
   drivers/mtd/devices/phram.c:150:44: note: in expansion of macro 'iounmap'
     150 |         cached ? memunmap(new->mtd.priv) : iounmap(new->mtd.priv);
         |                                            ^~~~~~~
   drivers/mtd/devices/phram.c: In function 'phram_remove':
>> arch/sh/include/asm/io.h:274:33: error: expected expression before 'do'
     274 | #define iounmap(addr)           do { } while (0)
         |                                 ^~
   drivers/mtd/devices/phram.c:372:53: note: in expansion of macro 'iounmap'
     372 |         phram->cached ? memunmap(phram->mtd.priv) : iounmap(phram->mtd.priv);
         |                                                     ^~~~~~~


vim +/do +274 arch/sh/include/asm/io.h

d57d64080ddc0f Paul Mundt        2010-01-19  272  
13f1fc870dd747 Christoph Hellwig 2020-07-14  273  #else /* CONFIG_MMU */
13f1fc870dd747 Christoph Hellwig 2020-07-14 @274  #define iounmap(addr)		do { } while (0)
13f1fc870dd747 Christoph Hellwig 2020-07-14  275  #define ioremap(offset, size)	((void __iomem *)(unsigned long)(offset))
13f1fc870dd747 Christoph Hellwig 2020-07-14  276  #endif /* CONFIG_MMU */
d627a2ebd1a303 Paul Mundt        2010-01-28  277  

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

  reply	other threads:[~2022-04-13  6:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-12 13:52 [PATCH v3 0/4] mtd: phram improvements Vincent Whitchurch
2022-04-12 13:52 ` [PATCH v3 1/4] mtd: core: Check devicetree alias for index Vincent Whitchurch
2022-04-21  7:36   ` Miquel Raynal
2022-04-12 13:53 ` [PATCH v3 2/4] dt-bindings: reserved-memory: Support MTD/block device Vincent Whitchurch
2022-04-14 16:00   ` Rob Herring
2022-04-21  7:36   ` Miquel Raynal
2022-04-12 13:53 ` [PATCH v3 3/4] mtd: phram: Allow probing via reserved-memory Vincent Whitchurch
2022-04-14 16:02   ` Rob Herring
2022-04-21  7:36   ` Miquel Raynal
2022-04-12 13:53 ` [PATCH v3 4/4] mtd: phram: Allow cached mappings Vincent Whitchurch
2022-04-13  6:45   ` kernel test robot [this message]
2022-04-14  9:04     ` Vincent Whitchurch
2022-04-25  8:28       ` Miquel Raynal
2022-04-25  8:30         ` Miquel Raynal
2022-05-10 15:26           ` Vincent Whitchurch
2022-04-21  7:35   ` Miquel Raynal

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=202204131446.omJ5mC54-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=joern@lazybastard.org \
    --cc=kbuild-all@lists.01.org \
    --cc=kernel@axis.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=richard@nod.at \
    --cc=robh+dt@kernel.org \
    --cc=vigneshr@ti.com \
    --cc=vincent.whitchurch@axis.com \
    /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;
as well as URLs for NNTP newsgroup(s).