CC: kbuild-...@lists.01.org
TO: "Alistair, Delva," <ade...@google.com>

tree:   https://android.googlesource.com/kernel/goldfish android-5.4
head:   f8aa5f514ccb2ded066fe47f6fd571fe016ca648
commit: ed21d463f856dfad55dc05afd8b7ff3232e9109b [8/9] Revert "ANDROID: 
sdcardfs: remove sdcardfs from system"
:::::: branch date: 13 hours ago
:::::: commit date: 15 hours ago
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <l...@intel.com>


cppcheck warnings: (new ones prefixed by >>)

   In file included from fs/sdcardfs/main.c:
>> fs/sdcardfs/main.c:174:14: warning: struct member 
>> 'sdcardfs_mount_private::dev_name' is never used. [unusedStructMember]
    const char *dev_name;
                ^
>> fs/sdcardfs/main.c:175:8: warning: struct member 
>> 'sdcardfs_mount_private::raw_data' is never used. [unusedStructMember]
    void *raw_data;
          ^
--
>> fs/sdcardfs/lookup.c:54:7: warning: Variable 'info' is reassigned a value 
>> before the old one has been used. [redundantAssignment]
    info = kmem_cache_zalloc(sdcardfs_dentry_cachep, GFP_ATOMIC);
         ^
   fs/sdcardfs/lookup.c:51:0: note: Variable 'info' is reassigned a value 
before the old one has been used.
    struct sdcardfs_dentry_info *info = SDCARDFS_D(dentry);
   ^
   fs/sdcardfs/lookup.c:54:7: note: Variable 'info' is reassigned a value 
before the old one has been used.
    info = kmem_cache_zalloc(sdcardfs_dentry_cachep, GFP_ATOMIC);
         ^

git remote add android-goldfish https://android.googlesource.com/kernel/goldfish
git remote update android-goldfish
git checkout ed21d463f856dfad55dc05afd8b7ff3232e9109b
vim +174 fs/sdcardfs/main.c

ed21d463f856df Alistair Delva 2020-06-02  171  
ed21d463f856df Alistair Delva 2020-06-02  172  struct sdcardfs_mount_private {
ed21d463f856df Alistair Delva 2020-06-02  173   struct vfsmount *mnt;
ed21d463f856df Alistair Delva 2020-06-02 @174   const char *dev_name;
ed21d463f856df Alistair Delva 2020-06-02 @175   void *raw_data;
ed21d463f856df Alistair Delva 2020-06-02  176  };
ed21d463f856df Alistair Delva 2020-06-02  177  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-...@lists.01.org
_______________________________________________
kbuild mailing list -- kbuild@lists.01.org
To unsubscribe send an email to kbuild-le...@lists.01.org

Reply via email to