Skip to contentSkip to conversation

drivers/staging/lustre/lustre/llite/xattr.c:309:24: warning: unused variable 'lli'

PATCH New James Simmons 1 participant 1 message Aug 22, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 201608222300.modY0gpw%[email protected]

#1 lore raw

PATCH 1892/3082 drivers/staging/lustre/lustre/llite/xattr.c:309:24: warning: unused variable 'lli'

Quoted 11 lines
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   d18b09e429ad4520272dcdcd8faa01aabc171fd0
commit: 1e1f9ff406fd5f6003a5dab2ab5a26c4c5bb8cbd [1892/3082] staging: lustre: llite: break ll_getxattr_common into 2 functions
config: x86_64-randconfig-s3-08200515 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        git checkout 1e1f9ff406fd5f6003a5dab2ab5a26c4c5bb8cbd
        # save the attached .config to linux build tree
        make ARCH=x86_64 
Quoted 6 lines

All warnings (new ones prefixed by >>):

drivers/staging/lustre/lustre/llite/xattr.c: In function 'll_getxattr_common':

Quoted 1 line
Quoted 1 line

drivers/staging/lustre/lustre/llite/xattr.c:309:24: warning: unused variable 'lli' [-Wunused-variable]

     struct ll_inode_info *lli = ll_i2info(inode);
                           ^~~

Besides this warning Oleg found in testing a regression with the new xattr hander code that I didn't see so this coming weekend I will investigate and with that fix include this cleanup.