Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1676395

linux-next: build warnings after merge of the scsi-mkp tree

Path csiph.com!weretis.net!feeder4.news.weretis.net!news.unit0.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From Stephen Rothwell <sfr@canb.auug.org.au>
Newsgroups linux.kernel
Subject linux-next: build warnings after merge of the scsi-mkp tree
Date Wed, 28 Jun 2017 08:00:01 +0200
Message-ID <tXeb7-2PV-1@gated-at.bofh.it> (permalink)
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1498629310; bh=tJSvbUuKE9EC22wCNadwVjAUn5bW5wfw0siyKAzMXVM=; h=Date:From:To:Cc:Subject:From; b=BtWb0cjq1SMJHXPD2nlZZx4RAN7JP3QJfsgi+W/oWIxXy413N2SN3e+4QXtZKEMLo Wtds2jOKBqkgsg5O1s7LYiaw1grTsTUV9PsZfChTdFWe7DvLJKDYOPU6roBm46TIMt f542y34luKccc+iJgQgBo0/4DiiIvNkWgUNaH4fpe/4rgTyS5Qv+oJSY88fe7aymCh EJTGV2W9mzor/mjH+F/IywDo0hdw82uuf+ojpaupd+QMt+tHCDg9WbEacaRi4kARLt fSYtrvyuwOdOn26c8VDR6OsbKUPqAZ2EkgsRXNGj5DZZEzB+bE383OrCYqflWCv2SJ 1mWBWG4JeJ36A==
MIME-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 51
Organization linux.* mail to news gateway
X-Original-Cc Linux-Next Mailing List <linux-next@vger.kernel.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Darren Trapp <darren.trapp@cavium.com>, Duane Grigsby <duane.grigsby@cavium.com>, Anil Gurumurthy <anil.gurumurhty@cavium.com>, Giridhar Malavali <giridhar.malavali@cavium.com>, Himanshu Madhani <himanshu.madhani@cavium.com>, Hannes Reinecke <hare@suse.com>
X-Original-Date Wed, 28 Jun 2017 15:55:10 +1000
X-Original-Message-ID <20170628155510.10f4ccfb@canb.auug.org.au>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1676395

Show key headers only | View raw


Hi Martin,

After merging the scsi-mkp tree, today's linux-next build
(powerpc_ppc64_defconfig) produced these warnings:

In file included from include/linux/byteorder/big_endian.h:4:0,
                 from arch/powerpc/include/uapi/asm/byteorder.h:13,
                 from include/asm-generic/bitops/le.h:5,
                 from arch/powerpc/include/asm/bitops.h:246,
                 from include/linux/bitops.h:36,
                 from include/linux/kernel.h:10,
                 from include/asm-generic/bug.h:15,
                 from arch/powerpc/include/asm/bug.h:127,
                 from include/linux/bug.h:4,
                 from arch/powerpc/include/asm/mmu.h:125,
                 from arch/powerpc/include/asm/lppaca.h:36,
                 from arch/powerpc/include/asm/paca.h:21,
                 from arch/powerpc/include/asm/current.h:16,
                 from include/linux/sched.h:11,
                 from include/linux/blkdev.h:4,
                 from include/linux/blk-mq.h:4,
                 from drivers/scsi/qla2xxx/qla_nvme.h:10,
                 from drivers/scsi/qla2xxx/qla_nvme.c:7:
drivers/scsi/qla2xxx/qla_nvme.c: In function 'qla2x00_start_nvme_mq':
include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer implicitly truncated to unsigned type [-Woverflow]
 #define __cpu_to_le32(x) ((__force __le32)__swab32((x)))
                          ^
include/linux/byteorder/generic.h:87:21: note: in expansion of macro '__cpu_to_le32'
 #define cpu_to_le32 __cpu_to_le32
                     ^
drivers/scsi/qla2xxx/qla_nvme.c:444:27: note: in expansion of macro 'cpu_to_le32'
    cont_pkt->entry_type = cpu_to_le32(CONTINUE_A64_TYPE);
                           ^
drivers/scsi/qla2xxx/qla_nvme.c: At top level:
drivers/scsi/qla2xxx/qla_nvme.c:667:13: warning: 'qla_nvme_unregister_remote_port' defined but not used [-Wunused-function]
 static void qla_nvme_unregister_remote_port(struct work_struct *work)
             ^
drivers/scsi/qla2xxx/qla_nvme.c:604:12: warning: 'qla_nvme_wait_on_rport_del' defined but not used [-Wunused-function]
 static int qla_nvme_wait_on_rport_del(fc_port_t *fcport)
            ^
drivers/scsi/qla2xxx/qla_nvme.c:634:13: warning: 'qla_nvme_abort_all' defined but not used [-Wunused-function]
 static void qla_nvme_abort_all(fc_port_t *fcport)
             ^

Introduced by commit

  e84067d74301 ("scsi: qla2xxx: Add FC-NVMe F/W initialization and transport registration")

-- 
Cheers,
Stephen Rothwell

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

linux-next: build warnings after merge of the scsi-mkp tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-28 08:00 +0200
  Re: linux-next: build warnings after merge of the scsi-mkp tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-06-29 07:10 +0200
    Re: linux-next: build warnings after merge of the scsi-mkp tree "Madhani, Himanshu" <Himanshu.Madhani@cavium.com> - 2017-06-29 20:40 +0200

csiph-web