All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Pekka Enberg <penberg@gmail.com>,
	linux-riscv@lists.infradead.org, linux-mm@kvack.org
Cc: Pekka Enberg <penberg@kernel.org>,
	Tom Lendacky <thomas.lendacky@amd.com>,
	Palmer Dabbelt <palmerdabbelt@google.com>,
	kbuild-all@lists.01.org, Mike Rapoport <rppt@linux.ibm.com>
Subject: Re: [PATCH 1/2] mm: pgtable: Make generic pgprot_* macros available for no-MMU
Date: Wed, 15 Jul 2020 04:42:47 +0800	[thread overview]
Message-ID: <202007150408.qls6jgO6%lkp@intel.com> (raw)
In-Reply-To: <20200714100051.345018-1-penberg@gmail.com>

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

Hi Pekka,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.8-rc5 next-20200714]
[cannot apply to mmotm/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use  as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Pekka-Enberg/mm-pgtable-Make-generic-pgprot_-macros-available-for-no-MMU/20200714-180502
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0dc589da873b58b70f4caf4b070fb0cf70fdd1dc
config: arm-randconfig-r033-20200714 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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/mm.h:32,
                    from include/linux/scatterlist.h:8,
                    from include/linux/dma-mapping.h:11,
                    from drivers/gpu/drm/tilcdc/tilcdc_crtc.c:8:
   include/linux/pgtable.h: In function 'pgprot_modify':
>> include/linux/pgtable.h:834:26: error: self-comparison always evaluates to true [-Werror=tautological-compare]
     834 |  if (pgprot_val(oldprot) == pgprot_val(pgprot_noncached(oldprot)))
         |                          ^~
   include/linux/pgtable.h:836:26: error: self-comparison always evaluates to true [-Werror=tautological-compare]
     836 |  if (pgprot_val(oldprot) == pgprot_val(pgprot_writecombine(oldprot)))
         |                          ^~
   include/linux/pgtable.h:838:26: error: self-comparison always evaluates to true [-Werror=tautological-compare]
     838 |  if (pgprot_val(oldprot) == pgprot_val(pgprot_device(oldprot)))
         |                          ^~
   cc1: all warnings being treated as errors

vim +834 include/linux/pgtable.h

   829	
   830	#ifndef pgprot_modify
   831	#define pgprot_modify pgprot_modify
   832	static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
   833	{
 > 834		if (pgprot_val(oldprot) == pgprot_val(pgprot_noncached(oldprot)))
   835			newprot = pgprot_noncached(newprot);
   836		if (pgprot_val(oldprot) == pgprot_val(pgprot_writecombine(oldprot)))
   837			newprot = pgprot_writecombine(newprot);
   838		if (pgprot_val(oldprot) == pgprot_val(pgprot_device(oldprot)))
   839			newprot = pgprot_device(newprot);
   840		return newprot;
   841	}
   842	#endif
   843	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27605 bytes --]

[-- Attachment #3: Type: text/plain, Size: 161 bytes --]

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 1/2] mm: pgtable: Make generic pgprot_* macros available for no-MMU
Date: Wed, 15 Jul 2020 04:42:47 +0800	[thread overview]
Message-ID: <202007150408.qls6jgO6%lkp@intel.com> (raw)
In-Reply-To: <20200714100051.345018-1-penberg@gmail.com>

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

Hi Pekka,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.8-rc5 next-20200714]
[cannot apply to mmotm/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use  as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Pekka-Enberg/mm-pgtable-Make-generic-pgprot_-macros-available-for-no-MMU/20200714-180502
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0dc589da873b58b70f4caf4b070fb0cf70fdd1dc
config: arm-randconfig-r033-20200714 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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/mm.h:32,
                    from include/linux/scatterlist.h:8,
                    from include/linux/dma-mapping.h:11,
                    from drivers/gpu/drm/tilcdc/tilcdc_crtc.c:8:
   include/linux/pgtable.h: In function 'pgprot_modify':
>> include/linux/pgtable.h:834:26: error: self-comparison always evaluates to true [-Werror=tautological-compare]
     834 |  if (pgprot_val(oldprot) == pgprot_val(pgprot_noncached(oldprot)))
         |                          ^~
   include/linux/pgtable.h:836:26: error: self-comparison always evaluates to true [-Werror=tautological-compare]
     836 |  if (pgprot_val(oldprot) == pgprot_val(pgprot_writecombine(oldprot)))
         |                          ^~
   include/linux/pgtable.h:838:26: error: self-comparison always evaluates to true [-Werror=tautological-compare]
     838 |  if (pgprot_val(oldprot) == pgprot_val(pgprot_device(oldprot)))
         |                          ^~
   cc1: all warnings being treated as errors

vim +834 include/linux/pgtable.h

   829	
   830	#ifndef pgprot_modify
   831	#define pgprot_modify pgprot_modify
   832	static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
   833	{
 > 834		if (pgprot_val(oldprot) == pgprot_val(pgprot_noncached(oldprot)))
   835			newprot = pgprot_noncached(newprot);
   836		if (pgprot_val(oldprot) == pgprot_val(pgprot_writecombine(oldprot)))
   837			newprot = pgprot_writecombine(newprot);
   838		if (pgprot_val(oldprot) == pgprot_val(pgprot_device(oldprot)))
   839			newprot = pgprot_device(newprot);
   840		return newprot;
   841	}
   842	#endif
   843	

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Pekka Enberg <penberg@gmail.com>,
	linux-riscv@lists.infradead.org, linux-mm@kvack.org
Cc: kbuild-all@lists.01.org, Pekka Enberg <penberg@kernel.org>,
	Palmer Dabbelt <palmerdabbelt@google.com>,
	Mike Rapoport <rppt@linux.ibm.com>,
	Tom Lendacky <thomas.lendacky@amd.com>
Subject: Re: [PATCH 1/2] mm: pgtable: Make generic pgprot_* macros available for no-MMU
Date: Wed, 15 Jul 2020 04:42:47 +0800	[thread overview]
Message-ID: <202007150408.qls6jgO6%lkp@intel.com> (raw)
In-Reply-To: <20200714100051.345018-1-penberg@gmail.com>

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

Hi Pekka,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.8-rc5 next-20200714]
[cannot apply to mmotm/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use  as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Pekka-Enberg/mm-pgtable-Make-generic-pgprot_-macros-available-for-no-MMU/20200714-180502
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0dc589da873b58b70f4caf4b070fb0cf70fdd1dc
config: arm-randconfig-r033-20200714 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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/mm.h:32,
                    from include/linux/scatterlist.h:8,
                    from include/linux/dma-mapping.h:11,
                    from drivers/gpu/drm/tilcdc/tilcdc_crtc.c:8:
   include/linux/pgtable.h: In function 'pgprot_modify':
>> include/linux/pgtable.h:834:26: error: self-comparison always evaluates to true [-Werror=tautological-compare]
     834 |  if (pgprot_val(oldprot) == pgprot_val(pgprot_noncached(oldprot)))
         |                          ^~
   include/linux/pgtable.h:836:26: error: self-comparison always evaluates to true [-Werror=tautological-compare]
     836 |  if (pgprot_val(oldprot) == pgprot_val(pgprot_writecombine(oldprot)))
         |                          ^~
   include/linux/pgtable.h:838:26: error: self-comparison always evaluates to true [-Werror=tautological-compare]
     838 |  if (pgprot_val(oldprot) == pgprot_val(pgprot_device(oldprot)))
         |                          ^~
   cc1: all warnings being treated as errors

vim +834 include/linux/pgtable.h

   829	
   830	#ifndef pgprot_modify
   831	#define pgprot_modify pgprot_modify
   832	static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
   833	{
 > 834		if (pgprot_val(oldprot) == pgprot_val(pgprot_noncached(oldprot)))
   835			newprot = pgprot_noncached(newprot);
   836		if (pgprot_val(oldprot) == pgprot_val(pgprot_writecombine(oldprot)))
   837			newprot = pgprot_writecombine(newprot);
   838		if (pgprot_val(oldprot) == pgprot_val(pgprot_device(oldprot)))
   839			newprot = pgprot_device(newprot);
   840		return newprot;
   841	}
   842	#endif
   843	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 27605 bytes --]

  parent reply	other threads:[~2020-07-14 20:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14 10:00 [PATCH 1/2] mm: pgtable: Make generic pgprot_* macros available for no-MMU Pekka Enberg
2020-07-14 10:00 ` Pekka Enberg
2020-07-14 10:00 ` [PATCH 2/2] riscv: Use generic pgprot_* macros from <linux/pgtable.h> Pekka Enberg
2020-07-14 10:00   ` Pekka Enberg
2020-07-14 11:53 ` [PATCH 1/2] mm: pgtable: Make generic pgprot_* macros available for no-MMU Mike Rapoport
2020-07-14 11:53   ` Mike Rapoport
2020-07-14 20:42 ` kernel test robot [this message]
2020-07-14 20:42   ` kernel test robot
2020-07-14 20:42   ` 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=202007150408.qls6jgO6%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmerdabbelt@google.com \
    --cc=penberg@gmail.com \
    --cc=penberg@kernel.org \
    --cc=rppt@linux.ibm.com \
    --cc=thomas.lendacky@amd.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 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.