# git rev-parse -q --verify a8dba0531bc0ba8b65e77a4a858da4b6eeaa1b92^{commit} a8dba0531bc0ba8b65e77a4a858da4b6eeaa1b92 already have revision, skipping fetch # git checkout -q -f -B kisskb a8dba0531bc0ba8b65e77a4a858da4b6eeaa1b92 # git clean -qxdf # < git log -1 # commit a8dba0531bc0ba8b65e77a4a858da4b6eeaa1b92 # Merge: e83b009c5c36 2c8ccb37b08f # Author: Linus Torvalds # Date: Wed Aug 14 11:10:38 2019 -0700 # # Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma # # Pull rdma fixes from Doug Ledford: # "Fairly small pull request for -rc3. I'm out of town the rest of this # week, so I made sure to clean out as much as possible from patchworks # in enough time for 0-day to chew through it (Yay! for 0-day being back # online! :-)). Jason might send through any emergency stuff that could # pop up, otherwise I'm back next week. # # The only real thing of note is the siw ABI change. Since we just # merged siw *this* release, there are no prior kernel releases to # maintain kernel ABI with. I told Bernard that if there is anything # else about the siw ABI he thinks he might want to change before it # goes set in stone, he should get it in ASAP. The siw module was around # for several years outside the kernel tree, and it had to be revamped # considerably for inclusion upstream, so we are making no attempts to # be backward compatible with the out of tree version. Once 5.3 is # actually released, we will have our baseline ABI to maintain. # # Summary: # # - Fix a memory registration release flow issue that was causing a # WARN_ON (mlx5) # # - If the counters for a port aren't allocated, then we can't do # operations on the non-existent counters (core) # # - Check the right variable for error code result (mlx5) # # - Fix a use after free issue (mlx5) # # - Fix an off by one memory leak (siw) # # - Actually return an error code on error (core) # # - Allow siw to be built on 32bit arches (siw, ABI change, but OK # since siw was just merged this merge window and there is no prior # released kernel to maintain compatibility with and we also updated # the rdma-core user space package to match)" # # * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma: # RDMA/siw: Change CQ flags from 64->32 bits # RDMA/core: Fix error code in stat_get_doit_qp() # RDMA/siw: Fix a memory leak in siw_init_cpulist() # IB/mlx5: Fix use-after-free error while accessing ev_file pointer # IB/mlx5: Check the correct variable in error handling code # RDMA/counter: Prevent QP counter binding if counters unsupported # IB/mlx5: Fix implicit MR release flow # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux-ld --version # < git log --format=%s --max-count=1 a8dba0531bc0ba8b65e77a4a858da4b6eeaa1b92 # < make -s -j 24 ARCH=nds32 O=/kisskb/build/linus_nds32-allyesconfig_nds32le CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- allyesconfig # make -s -j 24 ARCH=nds32 O=/kisskb/build/linus_nds32-allyesconfig_nds32le CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/nds32le-linux/bin/nds32le-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] In file included from /kisskb/src/arch/nds32/math-emu/fdivd.c:6: /kisskb/src/arch/nds32/math-emu/fdivd.c: In function 'fdivd': /kisskb/src/include/math-emu/soft-fp.h:124:8: warning: this statement may fall through [-Wimplicit-fallthrough=] _fex |= (ex) ~~~~~^~~~~~~ /kisskb/src/include/math-emu/op-common.h:495:5: note: in expansion of macro 'FP_SET_EXCEPTION' FP_SET_EXCEPTION(FP_EX_DIVZERO); \ ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/double.h:113:27: note: in expansion of macro '_FP_DIV' #define FP_DIV_D(R,X,Y) _FP_DIV(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fdivd.c:22:2: note: in expansion of macro 'FP_DIV_D' FP_DIV_D(R, A, B); ^~~~~~~~ In file included from /kisskb/src/include/math-emu/soft-fp.h:187, from /kisskb/src/arch/nds32/math-emu/fdivd.c:6: /kisskb/src/include/math-emu/op-common.h:496:3: note: here case _FP_CLS_COMBINE(FP_CLS_INF,FP_CLS_ZERO): \ ^~~~ /kisskb/src/include/math-emu/double.h:113:27: note: in expansion of macro '_FP_DIV' #define FP_DIV_D(R,X,Y) _FP_DIV(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fdivd.c:22:2: note: in expansion of macro 'FP_DIV_D' FP_DIV_D(R, A, B); ^~~~~~~~ In file included from /kisskb/src/include/math-emu/soft-fp.h:187, from /kisskb/src/arch/nds32/math-emu/fsubd.c:6: /kisskb/src/arch/nds32/math-emu/fsubd.c: In function 'fsubd': /kisskb/src/include/math-emu/op-common.h:310:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_e = X##_e; \ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/double.h:110:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_D(R,X,Y) _FP_ADD(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fsubd.c:22:2: note: in expansion of macro 'FP_ADD_D' FP_ADD_D(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:311:3: note: here case _FP_CLS_COMBINE(FP_CLS_NAN,FP_CLS_NORMAL): \ ^~~~ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/double.h:110:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_D(R,X,Y) _FP_ADD(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fsubd.c:22:2: note: in expansion of macro 'FP_ADD_D' FP_ADD_D(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:320:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_e = Y##_e; \ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/double.h:110:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_D(R,X,Y) _FP_ADD(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fsubd.c:22:2: note: in expansion of macro 'FP_ADD_D' FP_ADD_D(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:321:3: note: here case _FP_CLS_COMBINE(FP_CLS_NORMAL,FP_CLS_NAN): \ ^~~~ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/double.h:110:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_D(R,X,Y) _FP_ADD(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fsubd.c:22:2: note: in expansion of macro 'FP_ADD_D' FP_ADD_D(R, A, B); ^~~~~~~~ In file included from /kisskb/src/include/math-emu/soft-fp.h:187, from /kisskb/src/arch/nds32/math-emu/fmuld.c:6: /kisskb/src/arch/nds32/math-emu/fmuld.c: In function 'fmuld': /kisskb/src/include/math-emu/op-common.h:417:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_s = X##_s; \ /kisskb/src/include/math-emu/double.h:112:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_D(R,X,Y) _FP_MUL(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fmuld.c:18:2: note: in expansion of macro 'FP_MUL_D' FP_MUL_D(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:419:3: note: here case _FP_CLS_COMBINE(FP_CLS_INF,FP_CLS_INF): \ ^~~~ /kisskb/src/include/math-emu/double.h:112:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_D(R,X,Y) _FP_MUL(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fmuld.c:18:2: note: in expansion of macro 'FP_MUL_D' FP_MUL_D(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:430:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_s = Y##_s; \ /kisskb/src/include/math-emu/double.h:112:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_D(R,X,Y) _FP_MUL(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fmuld.c:18:2: note: in expansion of macro 'FP_MUL_D' FP_MUL_D(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:432:3: note: here case _FP_CLS_COMBINE(FP_CLS_NORMAL,FP_CLS_INF): \ ^~~~ /kisskb/src/include/math-emu/double.h:112:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_D(R,X,Y) _FP_MUL(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fmuld.c:18:2: note: in expansion of macro 'FP_MUL_D' FP_MUL_D(R, A, B); ^~~~~~~~ /kisskb/src/arch/nds32/kernel/signal.c: In function 'do_signal': /kisskb/src/arch/nds32/kernel/signal.c:362:20: warning: this statement may fall through [-Wimplicit-fallthrough=] regs->uregs[15] = __NR_restart_syscall; /kisskb/src/arch/nds32/kernel/signal.c:363:3: note: here case -ERESTARTNOHAND: ^~~~ /kisskb/src/arch/nds32/kernel/signal.c: In function 'handle_signal': /kisskb/src/arch/nds32/kernel/signal.c:315:7: warning: this statement may fall through [-Wimplicit-fallthrough=] if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { ^ /kisskb/src/arch/nds32/kernel/signal.c:319:3: note: here case -ERESTARTNOINTR: ^~~~ In file included from /kisskb/src/include/math-emu/soft-fp.h:187, from /kisskb/src/arch/nds32/math-emu/faddd.c:6: /kisskb/src/arch/nds32/math-emu/faddd.c: In function 'faddd': /kisskb/src/include/math-emu/op-common.h:310:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_e = X##_e; \ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/double.h:110:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_D(R,X,Y) _FP_ADD(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/faddd.c:18:2: note: in expansion of macro 'FP_ADD_D' FP_ADD_D(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:311:3: note: here case _FP_CLS_COMBINE(FP_CLS_NAN,FP_CLS_NORMAL): \ ^~~~ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/double.h:110:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_D(R,X,Y) _FP_ADD(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/faddd.c:18:2: note: in expansion of macro 'FP_ADD_D' FP_ADD_D(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:320:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_e = Y##_e; \ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/double.h:110:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_D(R,X,Y) _FP_ADD(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/faddd.c:18:2: note: in expansion of macro 'FP_ADD_D' FP_ADD_D(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:321:3: note: here case _FP_CLS_COMBINE(FP_CLS_NORMAL,FP_CLS_NAN): \ ^~~~ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/double.h:110:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_D(R,X,Y) _FP_ADD(D,2,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/faddd.c:18:2: note: in expansion of macro 'FP_ADD_D' FP_ADD_D(R, A, B); ^~~~~~~~ In file included from /kisskb/src/include/math-emu/soft-fp.h:187, from /kisskb/src/arch/nds32/math-emu/fmuls.c:6: /kisskb/src/arch/nds32/math-emu/fmuls.c: In function 'fmuls': /kisskb/src/include/math-emu/op-common.h:417:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_s = X##_s; \ /kisskb/src/include/math-emu/single.h:101:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_S(R,X,Y) _FP_MUL(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fmuls.c:18:2: note: in expansion of macro 'FP_MUL_S' FP_MUL_S(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:419:3: note: here case _FP_CLS_COMBINE(FP_CLS_INF,FP_CLS_INF): \ ^~~~ /kisskb/src/include/math-emu/single.h:101:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_S(R,X,Y) _FP_MUL(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fmuls.c:18:2: note: in expansion of macro 'FP_MUL_S' FP_MUL_S(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:430:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_s = Y##_s; \ /kisskb/src/include/math-emu/single.h:101:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_S(R,X,Y) _FP_MUL(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fmuls.c:18:2: note: in expansion of macro 'FP_MUL_S' FP_MUL_S(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:432:3: note: here case _FP_CLS_COMBINE(FP_CLS_NORMAL,FP_CLS_INF): \ ^~~~ /kisskb/src/include/math-emu/single.h:101:27: note: in expansion of macro '_FP_MUL' #define FP_MUL_S(R,X,Y) _FP_MUL(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fmuls.c:18:2: note: in expansion of macro 'FP_MUL_S' FP_MUL_S(R, A, B); ^~~~~~~~ In file included from /kisskb/src/arch/nds32/math-emu/fdivs.c:6: /kisskb/src/arch/nds32/math-emu/fdivs.c: In function 'fdivs': /kisskb/src/include/math-emu/soft-fp.h:124:8: warning: this statement may fall through [-Wimplicit-fallthrough=] _fex |= (ex) ~~~~~^~~~~~~ /kisskb/src/include/math-emu/op-common.h:495:5: note: in expansion of macro 'FP_SET_EXCEPTION' FP_SET_EXCEPTION(FP_EX_DIVZERO); \ ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/single.h:102:27: note: in expansion of macro '_FP_DIV' #define FP_DIV_S(R,X,Y) _FP_DIV(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fdivs.c:21:2: note: in expansion of macro 'FP_DIV_S' FP_DIV_S(R, A, B); ^~~~~~~~ In file included from /kisskb/src/include/math-emu/soft-fp.h:187, from /kisskb/src/arch/nds32/math-emu/fdivs.c:6: /kisskb/src/include/math-emu/op-common.h:496:3: note: here case _FP_CLS_COMBINE(FP_CLS_INF,FP_CLS_ZERO): \ ^~~~ /kisskb/src/include/math-emu/single.h:102:27: note: in expansion of macro '_FP_DIV' #define FP_DIV_S(R,X,Y) _FP_DIV(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fdivs.c:21:2: note: in expansion of macro 'FP_DIV_S' FP_DIV_S(R, A, B); ^~~~~~~~ In file included from /kisskb/src/include/math-emu/soft-fp.h:187, from /kisskb/src/arch/nds32/math-emu/fsubs.c:6: /kisskb/src/arch/nds32/math-emu/fsubs.c: In function 'fsubs': /kisskb/src/include/math-emu/op-common.h:310:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_e = X##_e; \ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/single.h:99:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_S(R,X,Y) _FP_ADD(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fsubs.c:22:2: note: in expansion of macro 'FP_ADD_S' FP_ADD_S(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:311:3: note: here case _FP_CLS_COMBINE(FP_CLS_NAN,FP_CLS_NORMAL): \ ^~~~ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/single.h:99:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_S(R,X,Y) _FP_ADD(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fsubs.c:22:2: note: in expansion of macro 'FP_ADD_S' FP_ADD_S(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:320:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_e = Y##_e; \ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/single.h:99:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_S(R,X,Y) _FP_ADD(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fsubs.c:22:2: note: in expansion of macro 'FP_ADD_S' FP_ADD_S(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:321:3: note: here case _FP_CLS_COMBINE(FP_CLS_NORMAL,FP_CLS_NAN): \ ^~~~ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/single.h:99:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_S(R,X,Y) _FP_ADD(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fsubs.c:22:2: note: in expansion of macro 'FP_ADD_S' FP_ADD_S(R, A, B); ^~~~~~~~ In file included from /kisskb/src/include/math-emu/soft-fp.h:187, from /kisskb/src/arch/nds32/math-emu/fadds.c:6: /kisskb/src/arch/nds32/math-emu/fadds.c: In function 'fadds': /kisskb/src/include/math-emu/op-common.h:310:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_e = X##_e; \ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/single.h:99:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_S(R,X,Y) _FP_ADD(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fadds.c:18:2: note: in expansion of macro 'FP_ADD_S' FP_ADD_S(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:311:3: note: here case _FP_CLS_COMBINE(FP_CLS_NAN,FP_CLS_NORMAL): \ ^~~~ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/single.h:99:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_S(R,X,Y) _FP_ADD(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fadds.c:18:2: note: in expansion of macro 'FP_ADD_S' FP_ADD_S(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:320:11: warning: this statement may fall through [-Wimplicit-fallthrough=] R##_e = Y##_e; \ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/single.h:99:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_S(R,X,Y) _FP_ADD(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fadds.c:18:2: note: in expansion of macro 'FP_ADD_S' FP_ADD_S(R, A, B); ^~~~~~~~ /kisskb/src/include/math-emu/op-common.h:321:3: note: here case _FP_CLS_COMBINE(FP_CLS_NORMAL,FP_CLS_NAN): \ ^~~~ /kisskb/src/include/math-emu/op-common.h:367:34: note: in expansion of macro '_FP_ADD_INTERNAL' #define _FP_ADD(fs, wc, R, X, Y) _FP_ADD_INTERNAL(fs, wc, R, X, Y, '+') ^~~~~~~~~~~~~~~~ /kisskb/src/include/math-emu/single.h:99:27: note: in expansion of macro '_FP_ADD' #define FP_ADD_S(R,X,Y) _FP_ADD(S,1,R,X,Y) ^~~~~~~ /kisskb/src/arch/nds32/math-emu/fadds.c:18:2: note: in expansion of macro 'FP_ADD_S' FP_ADD_S(R, A, B); ^~~~~~~~ /kisskb/src/drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^~~~~~~ In file included from /kisskb/src/include/linux/printk.h:332, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/kobject.h:19, from /kisskb/src/include/linux/device.h:16, from /kisskb/src/include/rdma/ib_verbs.h:43, from /kisskb/src/drivers/infiniband/sw/siw/siw_cq.c:9: /kisskb/src/drivers/infiniband/sw/siw/siw_cq.c: In function 'siw_reap_cqe': /kisskb/src/drivers/infiniband/sw/siw/siw_cq.c:76:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] cqe->flags, (void *)cqe->id); ^ /kisskb/src/include/linux/dynamic_debug.h:125:15: note: in definition of macro '__dynamic_func_call' func(&id, ##__VA_ARGS__); \ ^~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:165:2: note: in expansion of macro '_dynamic_func_call' _dynamic_func_call(fmt, __dynamic_ibdev_dbg, \ ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/rdma/ib_verbs.h:100:2: note: in expansion of macro 'dynamic_ibdev_dbg' dynamic_ibdev_dbg(__dev, format, ##args) ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/sw/siw/siw.h:725:2: note: in expansion of macro 'ibdev_dbg' ibdev_dbg(cq->base_cq.device, "CQ[%u] %s: " fmt, cq->id, __func__, \ ^~~~~~~~~ /kisskb/src/drivers/infiniband/sw/siw/siw_cq.c:74:4: note: in expansion of macro 'siw_dbg_cq' siw_dbg_cq(cq, "idx %u, type %d, flags %2x, id 0x%p\n", ^~~~~~~~~~ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_try_1seg': /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:53:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy((void *)paddr, &wqe->sqe.sge[1], bytes); ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:59:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy((void *)paddr, (void *)sge->laddr, bytes); ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:59:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy((void *)paddr, (void *)sge->laddr, bytes); ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:61:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (copy_from_user((void *)paddr, ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:62:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (const void __user *)sge->laddr, ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:82:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy((void *)paddr, buffer + off, bytes); ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:87:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy((void *)paddr, buffer + off, part); ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:101:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] memcpy((void *)(paddr + part), buffer, ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_qp_prepare_tx': /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:169:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] data = siw_try_1seg(c_tx, (u64)crc); ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:192:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] data = siw_try_1seg(c_tx, (u64)crc); ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:204:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] data = siw_try_1seg(c_tx, (u64)crc); ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:219:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] data = siw_try_1seg(c_tx, (u64)crc); ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_tx_hdt': /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:476:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] iov[seg].iov_base = (void *)(sge->laddr + sge_off); ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:535:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)(sge->laddr + sge_off), ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_qp_sq_proc_tx': /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:832:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wqe->sqe.sge[0].laddr = (u64)&wqe->sqe.sge[1]; ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_fastreg_mr': /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:927:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] struct ib_mr *base_mr = (struct ib_mr *)sqe->base_mr; ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp.c: In function 'siw_activate_tx': /kisskb/src/drivers/infiniband/sw/siw/siw_qp.c:952:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] wqe->sqe.sge[0].laddr = (u64)&wqe->sqe.sge[1]; ^ In file included from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/random.h:10, from /kisskb/src/include/linux/net.h:18, from /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:8: /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_rx_umem': /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:43:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)dest_addr, (void *)umem->fp_addr); ^ /kisskb/src/include/linux/printk.h:306:37: note: in definition of macro 'pr_warning' printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:41:4: note: in expansion of macro 'pr_warn' pr_warn("siw: %s: [QP %u]: bogus addr: %p, %p\n", ^~~~~~~ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:43:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)dest_addr, (void *)umem->fp_addr); ^ /kisskb/src/include/linux/printk.h:306:37: note: in definition of macro 'pr_warning' printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:41:4: note: in expansion of macro 'pr_warn' pr_warn("siw: %s: [QP %u]: bogus addr: %p, %p\n", ^~~~~~~ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_rx_pbl': /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:141:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (siw_rx_kva(srx, (void *)buf_addr, bytes) == bytes) { ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_proc_send': /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:488:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)(sge->laddr + frx->sge_off), ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_proc_write': /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:601:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (void *)(srx->ddp_to + srx->fpdu_part_rcvd), ^ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c: In function 'siw_proc_rresp': /kisskb/src/drivers/infiniband/sw/siw/siw_qp_rx.c:844:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] rv = siw_rx_kva(srx, (void *)(sge->laddr + wqe->processed), ^ /kisskb/src/drivers/infiniband/sw/siw/siw_verbs.c: In function 'siw_copy_inline_sgl': /kisskb/src/drivers/infiniband/sw/siw/siw_verbs.c:665:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sqe->sge[0].laddr = (u64)kbuf; ^ /kisskb/src/drivers/infiniband/sw/siw/siw_verbs.c: In function 'siw_post_send': /kisskb/src/drivers/infiniband/sw/siw/siw_verbs.c:828:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sqe->base_mr = (uint64_t)reg_wr(wr)->mr; ^ In file included from /kisskb/src/include/linux/printk.h:332, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/rculist.h:10, from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/uaccess.h:5, from /kisskb/src/drivers/infiniband/sw/siw/siw_verbs.c:8: /kisskb/src/drivers/infiniband/sw/siw/siw_verbs.c:846:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sqe->opcode, sqe->flags, (void *)sqe->id); ^ /kisskb/src/include/linux/dynamic_debug.h:125:15: note: in definition of macro '__dynamic_func_call' func(&id, ##__VA_ARGS__); \ ^~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:165:2: note: in expansion of macro '_dynamic_func_call' _dynamic_func_call(fmt, __dynamic_ibdev_dbg, \ ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/rdma/ib_verbs.h:100:2: note: in expansion of macro 'dynamic_ibdev_dbg' dynamic_ibdev_dbg(__dev, format, ##args) ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/infiniband/sw/siw/siw.h:721:2: note: in expansion of macro 'ibdev_dbg' ibdev_dbg(&qp->sdev->base_dev, "QP[%u] %s: " fmt, qp_id(qp), __func__, \ ^~~~~~~~~ /kisskb/src/drivers/infiniband/sw/siw/siw_verbs.c:845:3: note: in expansion of macro 'siw_dbg_qp' siw_dbg_qp(qp, "opcode %d, flags 0x%x, wr_id 0x%p\n", ^~~~~~~~~~ WARNING: EXPORT symbol "copy_page" [vmlinux] version generation failed, symbol will not be versioned. WARNING: EXPORT symbol "clear_page" [vmlinux] version generation failed, symbol will not be versioned. Completed OK # rm -rf /kisskb/build/linus_nds32-allyesconfig_nds32le # Build took: 0:14:28.231897