Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1152010imj; Thu, 14 Feb 2019 02:02:53 -0800 (PST) X-Google-Smtp-Source: AHgI3IYQo067Rw2ZFvMWn5AespOhnklUbrv6BBLMgaogd5V6CZVLQ3tU1oa22QU0XMhmNzxhlhwm X-Received: by 2002:aa7:83c6:: with SMTP id j6mr3122702pfn.91.1550138573216; Thu, 14 Feb 2019 02:02:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550138573; cv=none; d=google.com; s=arc-20160816; b=YDb0g4KZOZ8+pwSyokWj2okErbQMeRC7gN6S7sAB72qnPehhr7y1i/xkMlajniZGGW bL2lh2r1MsM+PPJaH6Vh7orLP3iU4FOBLwBsMrtRFiFA0Wg6zXbS/DZ4rLtA/7dwvlIV W72PqP5rF8IN1mmoFnbGxRsVNFj/8HuWBUz6Er+/LDftr7AHbhrCL2hmvR7L8RyDc80L s98hNSj9bpWqaDfrpMTXiKD4AG+gJOzBNvyi9WigjtatjJ2Rr6nVriyx0oA+8yKCDoXG h3nAhEzxXXqLxxmRxd2f5j6hwxk7FlbkGRYHzsJ3YXPtZ3CTe7e5isHoeb0TTuRksri3 LD1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:organization :references:in-reply-to:date:cc:to:from:subject:message-id; bh=IEu8STMs3xqUojSMkFiMcPQ245eTSyMfNezzYg3GFCs=; b=aILvrsR+rCsw3BhYGLKbQIC0ybwhC+7gXNhVSmw1wyQCWFPdTCrwkYsn33PbP7G7OV NNBy0NvgzlWfzkGfqYA11ZC4QqfsFc1UvuVZ0VFqzs5SuGOb1/GCWxbLAokwLjCYPnfr neGnWUSqdTQIe5x7eMI9n9Xh+t03YYokhZeEbT2Z1hczqlmHvVZWXblzaC522UCt5nNu DL3wjJbrC6jk30Ba9s5FmLElvlCyRRvKN1QSV+l8inMEtp8p3qu2HO+Y+CQAKMAMEzZN smRCG0mk/pKNvBaNwr4FIzPizp9W76rFl5jqnAjPsUL7coFRgYIWw+RAelenrKkls2KE 1Usg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r7si1957602pfb.237.2019.02.14.02.02.36; Thu, 14 Feb 2019 02:02:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388451AbfBNAVH (ORCPT + 99 others); Wed, 13 Feb 2019 19:21:07 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48324 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbfBNAVG (ORCPT ); Wed, 13 Feb 2019 19:21:06 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9D3FFC047B60; Thu, 14 Feb 2019 00:21:06 +0000 (UTC) Received: from haswell-e.nc.xsintricity.com (ovpn-112-17.rdu2.redhat.com [10.10.112.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4CBA11000239; Thu, 14 Feb 2019 00:21:05 +0000 (UTC) Message-ID: <86f77ecfe862e224149ada80dd5b5650280c74ec.camel@redhat.com> Subject: Re: linux-next: build warning after merge of the rdma tree From: Doug Ledford To: Stephen Rothwell , Jason Gunthorpe Cc: Linux Next Mailing List , Linux Kernel Mailing List , Kaike Wan , "Gustavo A. R. Silva" , Kees Cook Date: Wed, 13 Feb 2019 19:21:02 -0500 In-Reply-To: <20190214111839.6300f9b7@canb.auug.org.au> References: <20190214111839.6300f9b7@canb.auug.org.au> Organization: Red Hat, Inc. Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-91qp7NQurQMwZNMgw2nV" User-Agent: Evolution 3.30.4 (3.30.4-1.fc29) Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 14 Feb 2019 00:21:06 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-91qp7NQurQMwZNMgw2nV Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2019-02-14 at 11:18 +1100, Stephen Rothwell wrote: > Hi all, >=20 > After merging the rdma tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: >=20 > drivers/infiniband/hw/hfi1/qp.c: In function 'hfi1_setup_wqe': > drivers/infiniband/hw/hfi1/qp.c:328:3: warning: this statement may fall t= hrough [-Wimplicit-fallthrough=3D] > hfi1_setup_tid_rdma_wqe(qp, wqe); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > drivers/infiniband/hw/hfi1/qp.c:329:2: note: here > case IB_QPT_UC: > ^~~~ >=20 > Introduced by commit >=20 > f1ab4efa6d32 ("IB/hfi1: Enable TID RDMA READ protocol") >=20 > I get this warning because I am building with -Wimplicit-fallthrough > in attempt to catch new additions early. The gcc warning can be turned > off by adding a /* fall through */ comment at the point the fall through > happens (assuming that the fall through is intentional). >=20 Thanks Stephen, we'll sort it and make an appropriate fixup patch. Kaike? --=20 Doug Ledford GPG KeyID: B826A3330E572FDD Key fingerprint =3D AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD --=-91qp7NQurQMwZNMgw2nV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEErmsb2hIrI7QmWxJ0uCajMw5XL90FAlxktG4ACgkQuCajMw5X L92ifxAAm+TkvZLilzayUpkEsTwmeMFbyqDhQlHEvOddnN6TGQFwdSLVMxnPqw98 WPGcqjB4SUPUGgrhgoHiU2pZtlmLPPYfr58elLjWLdXU14MbPOEBUuOeINwQBrBb FdVI1hmJ1VjIDohhRaQDyxriR4IbsooiJaOv1MINmXjQT+l+YJzhNYffAqqQrESP nnuObO9geNXMiBPnVVsX8kOXZTlW65xQL7lSk1kZjwGOLlJzTjG/LiS9UwPTR9Px a76psalnUJWvXwtlFrG4RfV1gSTNoqwj143R/+alo4QZX0cuiG6GWIgkH/HCnunO JU6nLAuO3jwXkxtwjEy4P+nEKpWtjP7bMsSO6hnI0k2pW+/IOc6c80uYC3nivbHK fZ/MhIPtVyzC9RmpJFcHlAZkgvE5ObpP5+UuWl/ccfTMfcWRF7e4XJejuqab2Pco K1lHc6GU+lI5zdOjxpIBp6JGF5ne0C47R8IJOfgQBbkSyaPuCoKcp4MYcWLsPjm0 9bxD9ARxWUjBTs/wb0rEXjT3i0ST6ts9glnO75CPy+1EGaIgGzLx7cPqqSRQQTzc gbPenuYTt1kCedMwPXs/8x5Alv1pyqO924mjR6eP1UZWIMCJVLde1WTMVcNgTjRS HBDHoJvC22PmzhbYYrPrjK9k17yoiBjEQwbHxJH5IXau23faajQ= =4IuW -----END PGP SIGNATURE----- --=-91qp7NQurQMwZNMgw2nV--