Re: [PATCH] staging: exfat: rebase to sdFAT v2.2.0

kbuild test robot
2019-09-18T21:32:04Z

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

Hi Park,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3 next-20190917]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Park-Ju-Hyung/staging-exfat-rebase-to-sdFAT-v2-2-0/20190919-040526
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

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

All errors (new ones prefixed by >>):

drivers/staging/exfat/misc.c: In function 'exfat_uevent_ro_remount':
>> drivers/staging/exfat/misc.c:57:2: error: implicit declaration of function 'ST_LOG'; did you mean 'PT_LOAD'? [-Werror=implicit-function-declaration]
ST_LOG("[EXFAT](%s[%d:%d]): Uevent triggered\n",
^~~~~~
PT_LOAD
cc1: some warnings being treated as errors

vim +57 drivers/staging/exfat/misc.c

43
44 void exfat_uevent_ro_remount(struct super_block *sb)
45 {
46 struct block_device *bdev = sb->s_bdev;
47 dev_t bd_dev = bdev ? bdev->bd_dev : 0;
48
49 char major[16], minor[16];
50 char *envp[] = { major, minor, NULL };
51
52 snprintf(major, sizeof(major), "MAJOR=%d", MAJOR(bd_dev));
53 snprintf(minor, sizeof(minor), "MINOR=%d", MINOR(bd_dev));
54
55 kobject_uevent_env(&exfat_uevent_kobj, KOBJ_CHANGE, envp);
56
> 57 ST_LOG("[EXFAT](%s[%d:%d]): Uevent triggered\n",
58 sb->s_id, MAJOR(bd_dev), MINOR(bd_dev));
59 }
60 #endif
61

---
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: 69834 bytes --]