tree: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git misc head: 2559a1ef688f933835912c731bed2254146a9b04 commit: 61d8658b4a435eac729966cc94cdda077a8df5cd [40/55] scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework. config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 61d8658b4a435eac729966cc94cdda077a8df5cd # save the attached .config to linux build tree make.cross ARCH=ia64 Note: the scsi/misc HEAD 2559a1ef688f933835912c731bed2254146a9b04 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): In file included from include/linux/linkage.h:4:0, from include/linux/preempt.h:9, from include/linux/spinlock.h:50, from drivers/scsi/qedf/qedf_io.c:9: drivers/scsi/qedf/qedf_io.c: In function 'qedf_trace_io': >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:309:17: note: in definition of macro '__READ_ONCE' union { typeof(x) __val; char __c[1]; } __u; \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1001:21: note: in expansion of macro 'atomic_read' io_log->refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:22: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1001:21: note: in expansion of macro 'atomic_read' io_log->refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:42: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1001:21: note: in expansion of macro 'atomic_read' io_log->refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:30: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1001:21: note: in expansion of macro 'atomic_read' io_log->refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:50: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1001:21: note: in expansion of macro 'atomic_read' io_log->refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ drivers/scsi/qedf/qedf_io.c: In function 'qedf_scsi_completion': >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:309:17: note: in definition of macro '__READ_ONCE' union { typeof(x) __val; char __c[1]; } __u; \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1343:15: note: in expansion of macro 'atomic_read' refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:22: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1343:15: note: in expansion of macro 'atomic_read' refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:42: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1343:15: note: in expansion of macro 'atomic_read' refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:30: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1343:15: note: in expansion of macro 'atomic_read' refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:50: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1343:15: note: in expansion of macro 'atomic_read' refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ drivers/scsi/qedf/qedf_io.c: In function 'qedf_scsi_done': >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:309:17: note: in definition of macro '__READ_ONCE' union { typeof(x) __val; char __c[1]; } __u; \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1428:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:22: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1428:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:42: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1428:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:30: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1428:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:50: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1428:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&io_req->refcount.refcount); ^~~~~~~~~~~ drivers/scsi/qedf/qedf_io.c: In function 'qedf_flush_els_req': >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:309:17: note: in definition of macro '__READ_ONCE' union { typeof(x) __val; char __c[1]; } __u; \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_dbg.h:83:13: note: in expansion of macro 'atomic_read' ## __VA_ARGS__) ^~~~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1557:2: note: in expansion of macro 'QEDF_INFO' QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_IO, ^~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:22: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_dbg.h:83:13: note: in expansion of macro 'atomic_read' ## __VA_ARGS__) ^~~~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1557:2: note: in expansion of macro 'QEDF_INFO' QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_IO, ^~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:42: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_dbg.h:83:13: note: in expansion of macro 'atomic_read' ## __VA_ARGS__) ^~~~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1557:2: note: in expansion of macro 'QEDF_INFO' QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_IO, ^~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:30: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_dbg.h:83:13: note: in expansion of macro 'atomic_read' ## __VA_ARGS__) ^~~~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1557:2: note: in expansion of macro 'QEDF_INFO' QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_IO, ^~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:50: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_dbg.h:83:13: note: in expansion of macro 'atomic_read' ## __VA_ARGS__) ^~~~~~~~~~~ drivers/scsi/qedf/qedf_io.c:1557:2: note: in expansion of macro 'QEDF_INFO' QEDF_INFO(&(qedf->dbg_ctx), QEDF_LOG_IO, ^~~~~~~~~ -- In file included from include/linux/linkage.h:4:0, from include/linux/kernel.h:6, from include/linux/skbuff.h:17, from include/linux/if_ether.h:23, from include/linux/etherdevice.h:25, from include/scsi/libfcoe.h:24, from drivers/scsi/qedf/qedf.h:12, from drivers/scsi/qedf/qedf_els.c:9: drivers/scsi/qedf/qedf_els.c: In function 'qedf_rrq_compl': >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:309:17: note: in definition of macro '__READ_ONCE' union { typeof(x) __val; char __c[1]; } __u; \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:186:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:22: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:186:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:42: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:186:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:30: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:186:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:50: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:186:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ drivers/scsi/qedf/qedf_els.c: In function 'qedf_srr_compl': >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:309:17: note: in definition of macro '__READ_ONCE' union { typeof(x) __val; char __c[1]; } __u; \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:477:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:22: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:477:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:42: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:477:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:30: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:477:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:50: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:477:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ drivers/scsi/qedf/qedf_els.c: In function 'qedf_rec_compl': >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:309:17: note: in definition of macro '__READ_ONCE' union { typeof(x) __val; char __c[1]; } __u; \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:761:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:22: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:761:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:311:42: note: in definition of macro '__READ_ONCE' __read_once_size(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:761:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:30: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:761:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ >> arch/ia64/include/asm/atomic.h:24:38: error: 'refcount_t {aka struct refcount_struct}' has no member named 'counter' #define atomic_read(v) READ_ONCE((v)->counter) ^ include/linux/compiler.h:313:50: note: in definition of macro '__READ_ONCE' __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ ^ arch/ia64/include/asm/atomic.h:24:25: note: in expansion of macro 'READ_ONCE' #define atomic_read(v) READ_ONCE((v)->counter) ^~~~~~~~~ drivers/scsi/qedf/qedf_els.c:761:13: note: in expansion of macro 'atomic_read' refcount = atomic_read(&orig_io_req->refcount.refcount); ^~~~~~~~~~~ vim +24 arch/ia64/include/asm/atomic.h ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 8 * NOTE: don't mess with the types below! The "unsigned long" and ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 9 * "int" types were carefully placed so as to ensure proper operation ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 10 * of the macros. ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 11 * ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 12 * Copyright (C) 1998, 1999, 2002-2003 Hewlett-Packard Co ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 13 * David Mosberger-Tang <davidm@xxxxxxxxxx> ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 14 */ ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 15 #include <linux/types.h> ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 16 ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 17 #include <asm/intrinsics.h> 0cd64efb6 arch/ia64/include/asm/atomic.h Peter Zijlstra 2014-03-13 18 #include <asm/barrier.h> ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 19 ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 20 a11936558 arch/ia64/include/asm/atomic.h Tony Luck 2012-07-26 21 #define ATOMIC_INIT(i) { (i) } a11936558 arch/ia64/include/asm/atomic.h Tony Luck 2012-07-26 22 #define ATOMIC64_INIT(i) { (i) } ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 23 62e8a3258 arch/ia64/include/asm/atomic.h Peter Zijlstra 2015-09-18 @24 #define atomic_read(v) READ_ONCE((v)->counter) 62e8a3258 arch/ia64/include/asm/atomic.h Peter Zijlstra 2015-09-18 25 #define atomic64_read(v) READ_ONCE((v)->counter) ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 26 62e8a3258 arch/ia64/include/asm/atomic.h Peter Zijlstra 2015-09-18 27 #define atomic_set(v,i) WRITE_ONCE(((v)->counter), (i)) 62e8a3258 arch/ia64/include/asm/atomic.h Peter Zijlstra 2015-09-18 28 #define atomic64_set(v,i) WRITE_ONCE(((v)->counter), (i)) ^1da177e4 include/asm-ia64/atomic.h Linus Torvalds 2005-04-16 29 08be2dab1 arch/ia64/include/asm/atomic.h Peter Zijlstra 2014-03-23 30 #define ATOMIC_OP(op, c_op) \ 08be2dab1 arch/ia64/include/asm/atomic.h Peter Zijlstra 2014-03-23 31 static __inline__ int \ 08be2dab1 arch/ia64/include/asm/atomic.h Peter Zijlstra 2014-03-23 32 ia64_atomic_##op (int i, atomic_t *v) \ :::::: The code at line 24 was first introduced by commit :::::: 62e8a3258bda118f24ff462fe04cfbe75b8189b5 atomic, arch: Audit atomic_{read,set}() :::::: TO: Peter Zijlstra <peterz@xxxxxxxxxxxxx> :::::: CC: Ingo Molnar <mingo@xxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip