linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 143/319] include/linux/swapops.h:224:16: error: empty scalar initializer
@ 2017-09-07  3:37 kbuild test robot
  2017-09-07  4:50 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: kbuild test robot @ 2017-09-07  3:37 UTC (permalink / raw)
  To: Andrew Morton
  Cc: kbuild-all, Linux Memory Management List, Zi Yan, Johannes Weiner

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

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   5e52cc028671694cd84e649e0a43c99a53b1fea1
commit: ebacb62aac74e6683be1031fed6bfd029732d155 [143/319] mm-thp-enable-thp-migration-in-generic-path-fix-fix-fix
config: arm-at91_dt_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout ebacb62aac74e6683be1031fed6bfd029732d155
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   In file included from fs/proc/task_mmu.c:15:0:
   include/linux/swapops.h: In function 'swp_entry_to_pmd':
>> include/linux/swapops.h:224:16: error: empty scalar initializer
     return (pmd_t){};
                   ^
   include/linux/swapops.h:224:16: note: (near initialization for '(anonymous)')

vim +224 include/linux/swapops.h

   221	
   222	static inline pmd_t swp_entry_to_pmd(swp_entry_t entry)
   223	{
 > 224		return (pmd_t){};
   225	}
   226	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [mmotm:master 143/319] include/linux/swapops.h:224:16: error: empty scalar initializer
  2017-09-07  3:37 [mmotm:master 143/319] include/linux/swapops.h:224:16: error: empty scalar initializer kbuild test robot
@ 2017-09-07  4:50 ` Andrew Morton
  2017-09-07 10:54   ` Zi Yan
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Morton @ 2017-09-07  4:50 UTC (permalink / raw)
  To: kbuild test robot
  Cc: kbuild-all, Linux Memory Management List, Zi Yan, Johannes Weiner

On Thu, 7 Sep 2017 11:37:19 +0800 kbuild test robot <fengguang.wu@intel.com> wrote:

> tree:   git://git.cmpxchg.org/linux-mmotm.git master
> head:   5e52cc028671694cd84e649e0a43c99a53b1fea1
> commit: ebacb62aac74e6683be1031fed6bfd029732d155 [143/319] mm-thp-enable-thp-migration-in-generic-path-fix-fix-fix
> config: arm-at91_dt_defconfig (attached as .config)
> compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout ebacb62aac74e6683be1031fed6bfd029732d155
>         # save the attached .config to linux build tree
>         make.cross ARCH=arm 
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from fs/proc/task_mmu.c:15:0:
>    include/linux/swapops.h: In function 'swp_entry_to_pmd':
> >> include/linux/swapops.h:224:16: error: empty scalar initializer
>      return (pmd_t){};
>                    ^
>    include/linux/swapops.h:224:16: note: (near initialization for '(anonymous)')
> 
> vim +224 include/linux/swapops.h
> 
>    221	
>    222	static inline pmd_t swp_entry_to_pmd(swp_entry_t entry)
>    223	{
>  > 224		return (pmd_t){};
>    225	}
>    226	

Sigh, I tried.

Zi Yan, we're going to need to find a fix for this.  Rapidly, please.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [mmotm:master 143/319] include/linux/swapops.h:224:16: error: empty scalar initializer
  2017-09-07  4:50 ` Andrew Morton
@ 2017-09-07 10:54   ` Zi Yan
  2017-09-07 15:09     ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Zi Yan @ 2017-09-07 10:54 UTC (permalink / raw)
  To: Andrew Morton
  Cc: kbuild test robot, kbuild-all, Linux Memory Management List,
	Johannes Weiner

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

On 7 Sep 2017, at 0:50, Andrew Morton wrote:

> On Thu, 7 Sep 2017 11:37:19 +0800 kbuild test robot <fengguang.wu@intel.com> wrote:
>
>> tree:   git://git.cmpxchg.org/linux-mmotm.git master
>> head:   5e52cc028671694cd84e649e0a43c99a53b1fea1
>> commit: ebacb62aac74e6683be1031fed6bfd029732d155 [143/319] mm-thp-enable-thp-migration-in-generic-path-fix-fix-fix
>> config: arm-at91_dt_defconfig (attached as .config)
>> compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
>> reproduce:
>>         wget https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fintel%2Flkp-tests%2Fmaster%2Fsbin%2Fmake.cross&data=02%7C01%7Czi.yan%40cs.rutgers.edu%7C6ac33fb5121b4518eb6308d4f5abf197%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C636403566227996732&sdata=eSBomrixcY9RpH%2BkKovnCQmHlpaOcWXaZ02J0cX%2FQlg%3D&reserved=0 -O ~/bin/make.cross
>>         chmod +x ~/bin/make.cross
>>         git checkout ebacb62aac74e6683be1031fed6bfd029732d155
>>         # save the attached .config to linux build tree
>>         make.cross ARCH=arm
>>
>> All errors (new ones prefixed by >>):
>>
>>    In file included from fs/proc/task_mmu.c:15:0:
>>    include/linux/swapops.h: In function 'swp_entry_to_pmd':
>>>> include/linux/swapops.h:224:16: error: empty scalar initializer
>>      return (pmd_t){};
>>                    ^
>>    include/linux/swapops.h:224:16: note: (near initialization for '(anonymous)')
>>
>> vim +224 include/linux/swapops.h
>>
>>    221	
>>    222	static inline pmd_t swp_entry_to_pmd(swp_entry_t entry)
>>    223	{
>>> 224		return (pmd_t){};
>>    225	}
>>    226	
>
> Sigh, I tried.
>
> Zi Yan, we're going to need to find a fix for this.  Rapidly, please.


Hi Andrew,

Why cannot we use __pmd(0) instead? My sparc32 fix is in 4.13 now.
commit is 9157259d16a8ee8116a98d32f29b797689327e8d.

It should be OK to use __pmd(0). Is there any other arch not having __pmd()?

Thanks.

—
Best Regards,
Yan Zi

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 496 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [mmotm:master 143/319] include/linux/swapops.h:224:16: error: empty scalar initializer
  2017-09-07 10:54   ` Zi Yan
@ 2017-09-07 15:09     ` Andrew Morton
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Morton @ 2017-09-07 15:09 UTC (permalink / raw)
  To: Zi Yan
  Cc: kbuild test robot, kbuild-all, Linux Memory Management List,
	Johannes Weiner

On Thu, 07 Sep 2017 06:54:20 -0400 "Zi Yan" <zi.yan@cs.rutgers.edu> wrote:

> On 7 Sep 2017, at 0:50, Andrew Morton wrote:
> 
> > On Thu, 7 Sep 2017 11:37:19 +0800 kbuild test robot <fengguang.wu@intel.com> wrote:
> >
> >> tree:   git://git.cmpxchg.org/linux-mmotm.git master
> >> head:   5e52cc028671694cd84e649e0a43c99a53b1fea1
> >> commit: ebacb62aac74e6683be1031fed6bfd029732d155 [143/319] mm-thp-enable-thp-migration-in-generic-path-fix-fix-fix
> >> config: arm-at91_dt_defconfig (attached as .config)
> >> compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
> >> reproduce:
> >>         wget https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fintel%2Flkp-tests%2Fmaster%2Fsbin%2Fmake.cross&data=02%7C01%7Czi.yan%40cs.rutgers.edu%7C6ac33fb5121b4518eb6308d4f5abf197%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C636403566227996732&sdata=eSBomrixcY9RpH%2BkKovnCQmHlpaOcWXaZ02J0cX%2FQlg%3D&reserved=0 -O ~/bin/make.cross
> >>         chmod +x ~/bin/make.cross
> >>         git checkout ebacb62aac74e6683be1031fed6bfd029732d155
> >>         # save the attached .config to linux build tree
> >>         make.cross ARCH=arm
> >>
> >> All errors (new ones prefixed by >>):
> >>
> >>    In file included from fs/proc/task_mmu.c:15:0:
> >>    include/linux/swapops.h: In function 'swp_entry_to_pmd':
> >>>> include/linux/swapops.h:224:16: error: empty scalar initializer
> >>      return (pmd_t){};
> >>                    ^
> >>    include/linux/swapops.h:224:16: note: (near initialization for '(anonymous)')
> >>
> >> vim +224 include/linux/swapops.h
> >>
> >>    221	
> >>    222	static inline pmd_t swp_entry_to_pmd(swp_entry_t entry)
> >>    223	{
> >>> 224		return (pmd_t){};
> >>    225	}
> >>    226	
> >
> > Sigh, I tried.
> >
> > Zi Yan, we're going to need to find a fix for this.  Rapidly, please.
> 
> 
> Hi Andrew,
> 
> Why cannot we use __pmd(0) instead? My sparc32 fix is in 4.13 now.
> commit is 9157259d16a8ee8116a98d32f29b797689327e8d.

I didn't know that.  So we should be OK now.  Thanks.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-07 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-07  3:37 [mmotm:master 143/319] include/linux/swapops.h:224:16: error: empty scalar initializer kbuild test robot
2017-09-07  4:50 ` Andrew Morton
2017-09-07 10:54   ` Zi Yan
2017-09-07 15:09     ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox