Re: [staging:staging-testing 201/347] drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:32: error: 'dp' undeclared

2016-08-22 Thread Greg Kroah-Hartman
On Mon, Aug 22, 2016 at 05:48:39PM +0100, James Simmons wrote:
> 
> > On Mon, Aug 22, 2016 at 03:15:23PM +0800, kbuild test robot wrote:
> > > tree:   
> > > https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
> > > staging-testing
> > > head:   f5a9a15f8fd4168e415e94f5dce367f3cef08e03
> > > commit: 4f76f0ec093c2f9ef049495c78d486bfb48e4de0 [201/347] staging: 
> > > lustre: llite: move dir cache to MDC layer
> > > config: alpha-allyesconfig (attached as .config)
> > > compiler: alpha-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
> > > reproduce:
> > > wget 
> > > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
> > >  -O ~/bin/make.cross
> > > chmod +x ~/bin/make.cross
> > > git checkout 4f76f0ec093c2f9ef049495c78d486bfb48e4de0
> > > # save the attached .config to linux build tree
> > > make.cross ARCH=alpha 
> > 
> > Odd, I can't duplicate this on x86, what's so strange about alpha?
> 
> I see what the problem is. Its one of those 64K page versus 4K page 
> issues. I will send a patch right away.

Thanks, now queued up.

greg k-h
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: [staging:staging-testing 201/347] drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:32: error: 'dp' undeclared

2016-08-22 Thread James Simmons

> On Mon, Aug 22, 2016 at 03:15:23PM +0800, kbuild test robot wrote:
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
> > staging-testing
> > head:   f5a9a15f8fd4168e415e94f5dce367f3cef08e03
> > commit: 4f76f0ec093c2f9ef049495c78d486bfb48e4de0 [201/347] staging: lustre: 
> > llite: move dir cache to MDC layer
> > config: alpha-allyesconfig (attached as .config)
> > compiler: alpha-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
> > reproduce:
> > wget 
> > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
> >  -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > git checkout 4f76f0ec093c2f9ef049495c78d486bfb48e4de0
> > # save the attached .config to linux build tree
> > make.cross ARCH=alpha 
> 
> Odd, I can't duplicate this on x86, what's so strange about alpha?

I see what the problem is. Its one of those 64K page versus 4K page 
issues. I will send a patch right away.
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


Re: [staging:staging-testing 201/347] drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:32: error: 'dp' undeclared

2016-08-22 Thread Greg Kroah-Hartman
On Mon, Aug 22, 2016 at 03:15:23PM +0800, kbuild test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
> staging-testing
> head:   f5a9a15f8fd4168e415e94f5dce367f3cef08e03
> commit: 4f76f0ec093c2f9ef049495c78d486bfb48e4de0 [201/347] staging: lustre: 
> llite: move dir cache to MDC layer
> config: alpha-allyesconfig (attached as .config)
> compiler: alpha-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
> reproduce:
> wget 
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
>  -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 4f76f0ec093c2f9ef049495c78d486bfb48e4de0
> # save the attached .config to linux build tree
> make.cross ARCH=alpha 

Odd, I can't duplicate this on x86, what's so strange about alpha?

greg k-h
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[staging:staging-testing 201/347] drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:32: error: 'dp' undeclared

2016-08-22 Thread kbuild test robot
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
staging-testing
head:   f5a9a15f8fd4168e415e94f5dce367f3cef08e03
commit: 4f76f0ec093c2f9ef049495c78d486bfb48e4de0 [201/347] staging: lustre: 
llite: move dir cache to MDC layer
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 4f76f0ec093c2f9ef049495c78d486bfb48e4de0
# save the attached .config to linux build tree
make.cross ARCH=alpha 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/byteorder/little_endian.h:4:0,
from arch/alpha/include/uapi/asm/byteorder.h:4,
from include/asm-generic/bitops/le.h:5,
from arch/alpha/include/asm/bitops.h:454,
from include/linux/bitops.h:36,
from include/linux/kernel.h:10,
from include/linux/list.h:8,
from include/linux/module.h:9,
from drivers/staging/lustre/lustre/mdc/mdc_request.c:35:
   drivers/staging/lustre/lustre/mdc/mdc_request.c: In function 
'mdc_adjust_dirpages':
>> drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:32: error: 'dp' 
>> undeclared (first use in this function)
  __u64 hash_end = le64_to_cpu(dp->ldp_hash_end);
   ^
   include/uapi/linux/byteorder/little_endian.h:31:51: note: in definition of 
macro '__le64_to_cpu'
#define __le64_to_cpu(x) ((__force __u64)(__le64)(x))
  ^
>> drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:20: note: in expansion 
>> of macro 'le64_to_cpu'
  __u64 hash_end = le64_to_cpu(dp->ldp_hash_end);
   ^
   drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:32: note: each 
undeclared identifier is reported only once for each function it appears in
  __u64 hash_end = le64_to_cpu(dp->ldp_hash_end);
   ^
   include/uapi/linux/byteorder/little_endian.h:31:51: note: in definition of 
macro '__le64_to_cpu'
#define __le64_to_cpu(x) ((__force __u64)(__le64)(x))
  ^
>> drivers/staging/lustre/lustre/mdc/mdc_request.c:1243:20: note: in expansion 
>> of macro 'le64_to_cpu'
  __u64 hash_end = le64_to_cpu(dp->ldp_hash_end);
   ^

vim +/dp +1243 drivers/staging/lustre/lustre/mdc/mdc_request.c

  1237  #if PAGE_SIZE > LU_PAGE_SIZE
  1238  static void mdc_adjust_dirpages(struct page **pages, int cfs_pgs, int 
lu_pgs)
  1239  {
  1240  int i;
  1241  
  1242  for (i = 0; i < cfs_pgs; i++) {
> 1243  __u64 hash_end = le64_to_cpu(dp->ldp_hash_end);
  1244  __u32 flags = le32_to_cpu(dp->ldp_flags);
  1245  struct lu_dirpage *dp = kmap(pages[i]);
  1246  struct lu_dirpage *first = dp;

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


.config.gz
Description: Binary data
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel