# git rev-parse -q --verify 5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539^{commit} 5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539 already have revision, skipping fetch # git checkout -q -f -B kisskb 5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539 # git clean -qxdf # < git log -1 # commit 5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539 # Merge: db5481e705e2 7316b49c2a11 # Author: Linus Torvalds # Date: Mon Apr 1 08:28:36 2019 -0700 # # Merge branch 'work.aio' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs # # Pull aio race fixes and cleanups from Al Viro. # # The aio code had more issues with error handling and races with the aio # completing at just the right (wrong) time along with freeing the file # descriptor when another thread closes the file. # # Just a couple of these commits are the actual fixes: the others are # cleanups to either make the fixes simpler, or to make the code legible # and understandable enough that we hope there's no more fundamental races # hiding. # # * 'work.aio' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: # aio: move sanity checks and request allocation to io_submit_one() # deal with get_reqs_available() in aio_get_req() itself # aio: move dropping ->ki_eventfd into iocb_destroy() # make aio_read()/aio_write() return int # Fix aio_poll() races # aio: store event at final iocb_put() # aio: keep io_event in aio_kiocb # aio: fold lookup_kiocb() into its sole caller # pin iocb through aio. # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-gcc --version # < /opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux-ld --version # < git log --format=%s --max-count=1 5e7a8ca319268a70a6c7c3c1fde5bea38e1e5539 # < make -s -j 48 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- randconfig KCONFIG_SEED=0xD00790D2 WARNING: unmet direct dependencies detected for SND_SOC_MAX98927 Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=n] Selected by [y]: - SND_SOC_SDM845 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && QCOM_APR [=y] && MFD_CROS_EC [=y] WARNING: unmet direct dependencies detected for SND_SOC_MAX98927 Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=n] Selected by [y]: - SND_SOC_SDM845 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && QCOM_APR [=y] && MFD_CROS_EC [=y] # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # yes \n | make -s -j 48 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 48 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum WARNING: unmet direct dependencies detected for SND_SOC_MAX98927 Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=n] Selected by [y]: - SND_SOC_SDM845 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && QCOM_APR [=y] && MFD_CROS_EC [=y] WARNING: unmet direct dependencies detected for SND_SOC_MAX98927 Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=n] Selected by [y]: - SND_SOC_SDM845 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && QCOM_APR [=y] && MFD_CROS_EC [=y] WARNING: unmet direct dependencies detected for SND_SOC_MAX98927 Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && I2C [=n] Selected by [y]: - SND_SOC_SDM845 [=y] && SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && QCOM_APR [=y] && MFD_CROS_EC [=y] arch/arm64/Makefile:27: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum /kisskb/src/sound/soc/codecs/max98927.c:962:1: warning: return type defaults to 'int' [-Wreturn-type] module_i2c_driver(max98927_i2c_driver) ^ /kisskb/src/sound/soc/codecs/max98927.c:962:1: error: function declaration isn't a prototype [-Werror=strict-prototypes] In file included from /kisskb/src/include/linux/module.h:18:0, from /kisskb/src/sound/soc/codecs/max98927.c:15: /kisskb/src/sound/soc/codecs/max98927.c: In function 'module_i2c_driver': /kisskb/src/include/linux/moduleparam.h:28:3: warning: empty declaration struct __UNIQUE_ID(name) {} ^ /kisskb/src/include/linux/module.h:161:32: note: in expansion of macro '__MODULE_INFO' #define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info) ^ /kisskb/src/include/linux/module.h:224:42: note: in expansion of macro 'MODULE_INFO' #define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description) ^ /kisskb/src/sound/soc/codecs/max98927.c:964:1: note: in expansion of macro 'MODULE_DESCRIPTION' MODULE_DESCRIPTION("ALSA SoC MAX98927 driver"); ^ /kisskb/src/include/linux/moduleparam.h:28:3: warning: empty declaration struct __UNIQUE_ID(name) {} ^ /kisskb/src/include/linux/module.h:161:32: note: in expansion of macro '__MODULE_INFO' #define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info) ^ /kisskb/src/include/linux/module.h:221:32: note: in expansion of macro 'MODULE_INFO' #define MODULE_AUTHOR(_author) MODULE_INFO(author, _author) ^ /kisskb/src/sound/soc/codecs/max98927.c:965:1: note: in expansion of macro 'MODULE_AUTHOR' MODULE_AUTHOR("Ryan Lee "); ^ /kisskb/src/include/linux/moduleparam.h:28:3: warning: empty declaration struct __UNIQUE_ID(name) {} ^ /kisskb/src/include/linux/module.h:161:32: note: in expansion of macro '__MODULE_INFO' #define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info) ^ /kisskb/src/include/linux/module.h:215:34: note: in expansion of macro 'MODULE_INFO' #define MODULE_LICENSE(_license) MODULE_INFO(license, _license) ^ /kisskb/src/sound/soc/codecs/max98927.c:966:1: note: in expansion of macro 'MODULE_LICENSE' MODULE_LICENSE("GPL"); ^ In file included from :0:0: /kisskb/src/include/linux/compiler-gcc.h:71:45: error: expected '{' at end of input #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) ^ /kisskb/src/include/linux/compiler_types.h:53:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/compiler-gcc.h:71:29: note: in expansion of macro '__PASTE' #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) ^ /kisskb/src/include/linux/compiler_types.h:54:22: note: in expansion of macro '___PASTE' #define __PASTE(a,b) ___PASTE(a,b) ^ /kisskb/src/include/linux/compiler-gcc.h:71:37: note: in expansion of macro '__PASTE' #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) ^ /kisskb/src/include/linux/moduleparam.h:28:10: note: in expansion of macro '__UNIQUE_ID' struct __UNIQUE_ID(name) {} ^ /kisskb/src/include/linux/module.h:161:32: note: in expansion of macro '__MODULE_INFO' #define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info) ^ /kisskb/src/include/linux/module.h:215:34: note: in expansion of macro 'MODULE_INFO' #define MODULE_LICENSE(_license) MODULE_INFO(license, _license) ^ /kisskb/src/sound/soc/codecs/max98927.c:966:1: note: in expansion of macro 'MODULE_LICENSE' MODULE_LICENSE("GPL"); ^ /kisskb/src/sound/soc/codecs/max98927.c: At top level: /kisskb/src/sound/soc/codecs/max98927.c:951:26: warning: 'max98927_i2c_driver' defined but not used [-Wunused-variable] static struct i2c_driver max98927_i2c_driver = { ^ In file included from :0:0: /kisskb/src/sound/soc/codecs/max98927.c: In function 'module_i2c_driver': /kisskb/src/include/linux/compiler-gcc.h:71:45: warning: control reaches end of non-void function [-Wreturn-type] #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) ^ /kisskb/src/include/linux/compiler_types.h:53:23: note: in definition of macro '___PASTE' #define ___PASTE(a,b) a##b ^ /kisskb/src/include/linux/compiler-gcc.h:71:29: note: in expansion of macro '__PASTE' #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) ^ /kisskb/src/include/linux/compiler_types.h:54:22: note: in expansion of macro '___PASTE' #define __PASTE(a,b) ___PASTE(a,b) ^ /kisskb/src/include/linux/compiler-gcc.h:71:37: note: in expansion of macro '__PASTE' #define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) ^ /kisskb/src/include/linux/moduleparam.h:28:10: note: in expansion of macro '__UNIQUE_ID' struct __UNIQUE_ID(name) {} ^ /kisskb/src/include/linux/module.h:161:32: note: in expansion of macro '__MODULE_INFO' #define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info) ^ /kisskb/src/include/linux/module.h:215:34: note: in expansion of macro 'MODULE_INFO' #define MODULE_LICENSE(_license) MODULE_INFO(license, _license) ^ /kisskb/src/sound/soc/codecs/max98927.c:966:1: note: in expansion of macro 'MODULE_LICENSE' MODULE_LICENSE("GPL"); ^ cc1: some warnings being treated as errors make[4]: *** [/kisskb/src/scripts/Makefile.build:275: sound/soc/codecs/max98927.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:486: sound/soc/codecs] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:486: sound/soc] Error 2 make[1]: *** [/kisskb/src/Makefile:1051: sound] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:169: sub-make] Error 2 Command 'make -s -j 48 ARCH=arm64 O=/kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 CROSS_COMPILE=/opt/cross/kisskb/br-aarch64-glibc-2016.08-613-ge98b4dd/bin/aarch64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_arm64-randconfig_arm64-gcc5.4 # Build took: 0:01:27.452433