lkml.org 
[lkml]   [2018]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: Change return type to vm_fault_t
On Wed, May 30, 2018 at 09:10:47AM +0530, Souptick Joarder wrote:
> On Tue, May 29, 2018 at 11:04 PM, Matthew Wilcox <willy@infradead.org> wrote:
> > I see:
> >
> > mm/gup.c:817:15: warning: invalid assignment: |=
> > mm/gup.c:817:15: left side has type int
> > mm/gup.c:817:15: right side has type restricted vm_fault_t
> >
> > are you building with 'c=2' or 'C=2'?
>
> Building with C=2.
> Do I need to enable any separate FLAG ?

Nope. Here's what I have:

willy@bobo:~/kernel/souptick$ make C=2 mm/gup.o
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHECK arch/x86/purgatory/purgatory.c
CHECK arch/x86/purgatory/sha256.c
CHECK arch/x86/purgatory/string.c
arch/x86/purgatory/../boot/string.c:134:6: warning: symbol 'simple_strtol' was not declared. Should it be static?
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
DESCEND objtool
CHECK scripts/mod/empty.c
CHK scripts/mod/devicetable-offsets.h
CHECK mm/gup.c
mm/gup.c:817:15: warning: invalid assignment: |=
mm/gup.c:817:15: left side has type int
mm/gup.c:817:15: right side has type restricted vm_fault_t
CC mm/gup.o

\
 
 \ /
  Last update: 2018-05-30 13:20    [W:0.101 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site