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


Groups > linux.kernel > #1678058

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

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From "Madhani, Himanshu" <Himanshu.Madhani@cavium.com>
Newsgroups linux.kernel
Subject Re: linux-next: build warnings after merge of the scsi-mkp tree
Date Thu, 29 Jun 2017 20:40:03 +0200
Message-ID <tXMwb-2FO-33@gated-at.bofh.it> (permalink)
References <tXeb7-2PV-1@gated-at.bofh.it> <tXzSi-3ni-9@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=DvUJraNkO740Y+cY0/TvQBJ8UjgELr676GnmPj5HID8=; b=opZwyY/OkZ2BPO32Pa449oo0U4fa29bq/rAoegL6xl0x/R3BDyBHixytnDpqnzZ9IDB3WJ5QQv2t+HiaAm0HXuLw4L9yM+CPbMSp+97dGRqVVx8YeFdHFSPkrsfRxHz6hgBDvwMbs3VUGjBy3cunlJ08Wp2sBBBXw/5/K13NGxk=
Thread-Topic linux-next: build warnings after merge of the scsi-mkp tree
Thread-Index AQHS79Me2NfjZhxzgUmhf8hfAe92KqI7S6sAgADhqoA=
Accept-Language en-US
Content-Language en-US
Authentication-Results canb.auug.org.au; dkim=none (message not signed) header.d=none;canb.auug.org.au; dmarc=none action=none header.from=cavium.com;
X-Originating-IP [173.186.134.106]
X-Ms-Publictraffictype Email
X-Microsoft-Exchange-Diagnostics 1;BN6PR07MB3585;7:s0c3bTD9ev+miLVZ4tQ3AN0/iO1B4hKS3mBE9aotRfEuee0Kwfzoyza+kHxcrH56xuQE+SuZ3EnX1VrwcCzY25s+NT/1IUn6XAAMVIvC67TjwujyGcRlDUTiLZAk49jgg7u98Qu7ROKyS1cB0CQdQ4RBgB3LBdAEdWvHvqh4KbZV6pe3WQ4C8GxilaDFSDbq/98/dYotWM2TcP6XgiLKXRQ/igXCMDITgq9A7w8yvA56CNUynvhn2Y9F23fK2iltL+QblN9d1f132qDoWp9hEj0A3YGzaqQHEBp4CisMoYAO0TcHfgZcnGJjJCJbcPaiKeXMAGXtYbhILKHA7sQigTiIBbY3vrMuvrtlkhSQUFoX8wJsujDNeXbLhlFZxcpKCutFTvRv5OsqpXFZD3Z/cy68ad0y/OOk8/H7JbScdSkNg7iL6mVnaV0f5R3uxlGyvFK9clFVuuU9Ec5h2MyQSMr/t8y1soPoxGsgb2NU0pqPaM0b/64NzKXOd8SRjruPlYRsRXW2LsuQYO9+5L9IxHVPTbjn13PL5ALn/Vnc/XX7B8MgG3j5ze2YfvI7cb3rPEuEjEyA6lCj/vdAsFQyXpOa53y2g76397msDoYz2KT0pLMDGSG8O7OfdakFjNp/lafRzNU/rGFUIzsKTRRTdAm2SSWdybmXkPRENehhw2QiSqmdic3kKAZ0ojMHDG7kkUDCghNe89ZMAb5+Vz70FRF9a+A6RsNRhCoGnLdrB8Bzz9JtqoZb9yOhRHkUKJjiGFdR1c1/AV3j4AnlkPc9fxWTOwyawVCNBBleH0fxiIo=
X-Forefront-Antispam-Report SFV:SKI;SCL:-1SFV:NSPM;SFS:(10009020)(6009001)(39400400002)(39450400003)(39410400002)(39840400002)(39850400002)(377454003)(24454002)(25786009)(66066001)(3846002)(5660300001)(6486002)(77096006)(229853002)(6116002)(53546010)(83716003)(2900100001)(305945005)(82746002)(86362001)(33656002)(4326008)(54356999)(76176999)(50986999)(38730400002)(189998001)(81166006)(36756003)(6512007)(54906002)(14454004)(110136004)(3280700002)(7736002)(3660700001)(8676002)(99286003)(6436002)(6916009)(478600001)(102836003)(2950100002)(72206003)(6246003)(53936002)(8936002)(6506006);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR07MB3585;H:BN6PR07MB3444.namprd07.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en;
X-Ms-Office365-Filtering-Correlation-ID 6a016e51-317a-4401-a6a1-08d4bf1da1ec
X-Microsoft-Antispam UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BN6PR07MB3585;
X-Ms-Traffictypediagnostic BN6PR07MB3585:
X-Microsoft-Antispam-Prvs <BN6PR07MB358577AF6DC65E67770D46D8F5D20@BN6PR07MB3585.namprd07.prod.outlook.com>
X-Exchange-Antispam-Report-Test UriScan:(236129657087228);
X-Exchange-Antispam-Report-Cfa-Test BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123560025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR07MB3585;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR07MB3585;
X-Forefront-Prvs 0353563E2B
Spamdiagnosticoutput 1:99
Spamdiagnosticmetadata NSPM
Content-Type text/plain; charset="us-ascii"
Content-ID <87A48DD4432BEA41B8BF9DEEAB13BBAB@namprd07.prod.outlook.com>
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-Originatororg cavium.com
X-Ms-Exchange-Crosstenant-Originalarrivaltime 29 Jun 2017 18:35:35.5268 (UTC)
X-Ms-Exchange-Crosstenant-Fromentityheader Hosted
X-Ms-Exchange-Crosstenant-ID 711e4ccf-2e9b-4bcf-a551-4094005b6194
X-Ms-Exchange-Transport-Crosstenantheadersstamped BN6PR07MB3585
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 75
Organization linux.* mail to news gateway
X-Original-Cc James Bottomley <James.Bottomley@HansenPartnership.com>, "Martin K. Petersen" <martin.petersen@oracle.com>, Linux-Next Mailing List <linux-next@vger.kernel.org>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, "Trapp, Darren" <Darren.Trapp@cavium.com>, "Grigsby, Duane" <Duane.Grigsby@cavium.com>, Anil Gurumurthy <anil.gurumurhty@cavium.com>, "Malavali, Giridhar" <Giridhar.Malavali@cavium.com>, Hannes Reinecke <hare@suse.com>
X-Original-Date Thu, 29 Jun 2017 18:35:35 +0000
X-Original-Message-ID <F7325129-BC4E-43C1-8E33-C5C36C4BB2BF@cavium.com>
X-Original-References <20170628155510.10f4ccfb@canb.auug.org.au> <20170629150752.4ef9a713@canb.auug.org.au>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1678058

Show key headers only | View raw


Hi Stephen, James,

> On Jun 28, 2017, at 10:07 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 
> Hi James,
> 
> This has now migrated to the scsi tree.
> 
> On Wed, 28 Jun 2017 15:55:10 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>> 
>> 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


Would it be okay if we send patch to address this warnings in couple days? 

Thanks,
- Himanshu

Back to linux.kernel | Previous | Next — Previous 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