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: alpha-allyesconfig (attached as .config) compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 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=alpha 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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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/alpha/include/asm/atomic.h:20: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 +20 arch/alpha/include/asm/atomic.h ea4354675 arch/alpha/include/asm/atomic.h Matthew Wilcox 2009-01-06 4 #include <linux/types.h> 0db9ae4a7 include/asm-alpha/atomic.h Andrew Morton 2005-10-24 5 #include <asm/barrier.h> 5ba840f9d arch/alpha/include/asm/atomic.h Paul Gortmaker 2012-04-02 6 #include <asm/cmpxchg.h> 0db9ae4a7 include/asm-alpha/atomic.h Andrew Morton 2005-10-24 7 ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 8 /* ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 9 * Atomic operations that C can't guarantee us. Useful for ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 10 * resource counting etc... ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 11 * ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 12 * But use these as seldom as possible since they are much slower ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 13 * than regular operations. ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 14 */ ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 15 ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 16 67a806d94 arch/alpha/include/asm/atomic.h Mel Gorman 2012-08-19 17 #define ATOMIC_INIT(i) { (i) } 67a806d94 arch/alpha/include/asm/atomic.h Mel Gorman 2012-08-19 18 #define ATOMIC64_INIT(i) { (i) } ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 19 62e8a3258 arch/alpha/include/asm/atomic.h Peter Zijlstra 2015-09-18 @20 #define atomic_read(v) READ_ONCE((v)->counter) 62e8a3258 arch/alpha/include/asm/atomic.h Peter Zijlstra 2015-09-18 21 #define atomic64_read(v) READ_ONCE((v)->counter) ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 22 62e8a3258 arch/alpha/include/asm/atomic.h Peter Zijlstra 2015-09-18 23 #define atomic_set(v,i) WRITE_ONCE((v)->counter, (i)) 62e8a3258 arch/alpha/include/asm/atomic.h Peter Zijlstra 2015-09-18 24 #define atomic64_set(v,i) WRITE_ONCE((v)->counter, (i)) ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 25 ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 26 /* ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 27 * To get proper branch prediction for the main line, we must branch ^1da177e4 include/asm-alpha/atomic.h Linus Torvalds 2005-04-16 28 * forward to code at the end of this object's .text section, then :::::: The code at line 20 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