Hi Qu, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.1-rc4 next-20190410] [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/Qu-Wenruo/errno-h-Export-EFSCORRUPTED-error-number/20190410-183556 config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree GCC_VERSION=7.2.0 make.cross ARCH=sparc64 All errors (new ones prefixed by >>): >> block/blk-core.c:138:29: error: 'EFSCORRUPTED' undeclared here (not in a function); did you mean 'FS_NRSUPER'? [BLK_STS_FSCORRUPTED] = { -EFSCORRUPTED, "filesystem is corrupted" }, ^~~~~~~~~~~~ FS_NRSUPER vim +138 block/blk-core.c 121 122 static const struct { 123 int errno; 124 const char *name; 125 } blk_errors[] = { 126 [BLK_STS_OK] = { 0, "" }, 127 [BLK_STS_NOTSUPP] = { -EOPNOTSUPP, "operation not supported" }, 128 [BLK_STS_TIMEOUT] = { -ETIMEDOUT, "timeout" }, 129 [BLK_STS_NOSPC] = { -ENOSPC, "critical space allocation" }, 130 [BLK_STS_TRANSPORT] = { -ENOLINK, "recoverable transport" }, 131 [BLK_STS_TARGET] = { -EREMOTEIO, "critical target" }, 132 [BLK_STS_NEXUS] = { -EBADE, "critical nexus" }, 133 [BLK_STS_MEDIUM] = { -ENODATA, "critical medium" }, 134 [BLK_STS_PROTECTION] = { -EILSEQ, "protection" }, 135 [BLK_STS_RESOURCE] = { -ENOMEM, "kernel resource" }, 136 [BLK_STS_DEV_RESOURCE] = { -EBUSY, "device resource" }, 137 [BLK_STS_AGAIN] = { -EAGAIN, "nonblocking retry" }, > 138 [BLK_STS_FSCORRUPTED] = { -EFSCORRUPTED, "filesystem is corrupted" }, 139 140 /* device mapper special case, should not leak out: */ 141 [BLK_STS_DM_REQUEUE] = { -EREMCHG, "dm internal retry" }, 142 143 /* everything else not covered above: */ 144 [BLK_STS_IOERR] = { -EIO, "I/O" }, 145 }; 146 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation