From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA75EC04EB9 for ; Mon, 3 Dec 2018 17:23:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C052A2082F for ; Mon, 3 Dec 2018 17:23:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C052A2082F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726893AbeLCRXq (ORCPT ); Mon, 3 Dec 2018 12:23:46 -0500 Received: from mx1.redhat.com ([209.132.183.28]:57098 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725897AbeLCRXm (ORCPT ); Mon, 3 Dec 2018 12:23:42 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C0DB0753E5; Mon, 3 Dec 2018 17:23:38 +0000 (UTC) Received: from haswell-e.nc.xsintricity.com (ovpn-112-74.rdu2.redhat.com [10.10.112.74]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 42E5D600C1; Mon, 3 Dec 2018 17:23:37 +0000 (UTC) Message-ID: <51cb9d8e7b107d37447b9e0d218bb12d8cf49ebb.camel@redhat.com> Subject: Re: [PATCH] RDMA/uverbs: fix ptr_ret.cocci warnings From: Doug Ledford To: Jason Gunthorpe , kbuild test robot Cc: kbuild-all@01.org, Leon Romanovsky , Yishai Hadas , Mark Bloch , Ariel Levkovich , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 03 Dec 2018 12:23:35 -0500 In-Reply-To: <20181129233721.GA11172@ziepe.ca> References: <201811280723.DnTk8AXL%fengguang.wu@intel.com> <20181127232130.GA28456@sof-kbuild01> <20181129233721.GA11172@ziepe.ca> Organization: Red Hat, Inc. Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-/W6v1yMHNaNeUmifzBA5" User-Agent: Evolution 3.30.2 (3.30.2-2.fc29) Mime-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 03 Dec 2018 17:23:39 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-/W6v1yMHNaNeUmifzBA5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2018-11-29 at 16:37 -0700, Jason Gunthorpe wrote: > On Wed, Nov 28, 2018 at 07:21:30AM +0800, kbuild test robot wrote: > > From: kbuild test robot > >=20 > > drivers/infiniband/core/uverbs_cmd.c:1095:1-3: WARNING: PTR_ERR_OR_ZERO= can be used > >=20 > >=20 > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > >=20 > > Generated by: scripts/coccinelle/api/ptr_ret.cocci > >=20 > > Fixes: 7106a9769715 ("RDMA/uverbs: Make write() handlers return 0 on su= ccess") > > Signed-off-by: kbuild test robot > > --- >=20 > applied to for-next, thanks >=20 > Jason This caused a conflict with your make write() handlers use a consistent flow series, which I fixed up during git am run. Just FYI in case you want to check out the conflict spot as a double check (but it was a simple fixup). --=20 Doug Ledford GPG KeyID: B826A3330E572FDD Key fingerprint =3D AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD --=-/W6v1yMHNaNeUmifzBA5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEErmsb2hIrI7QmWxJ0uCajMw5XL90FAlwFZpcACgkQuCajMw5X L90r8A//RgjH8FiIe5OjfenSnhnuE7WUB8ywlqdXgdcrmqCq9qQpEqF6ODzp3v9B ovdAy5xRb8ElgvePDb80d/OWfGa0cvdvm3giKGSPiN0inLxMcaEks4QVDtwre1nm Rxhk26TJlHOkMsjosFeL/4P9OMWvxbVUnsTt0ukn4e8nalW5FAocz6TK2TDXBysa cPb5wifyzItRZS+ayD1RzKpHcQBbke8+FAZGOxhTIiZ9DDoaXu2WG2U3wWDQFBCG h1KigLGf6/7LSMrmx/bUR+sMw7qY9/agKUpxVcujFh/A/3Es7pJMBnvMvG/pfjti iXJqZKSlmOP+sxMIW/siYvt/0tRmpwBrOZPRR8Vfrj0AwJVgvcKLMA8GUkVN1Lir FWdRdUOazCXipS0L0pZwurtfx6ouh7FCpvhna7wS/oRMm8YuHkaijrdABbe7a+FQ o7DXF12+yiwdg/xEbwWmQ5EU5QviDWEYQZtd4+evt1DNLsWyAUeeJj6iiRKUofcQ 3G/VoXMEZR7qY6zAj7Ge8wbcfvjhQ117F3sbdFwuSWIVSLEdmdusjSBcJiQBIAem fM0mcNgTk04foeqjXV3yAH3JO0WuhufvdKI8wZ2s9XBS98vOX8n8Dg0rGSLnmVeB QJLRgF7giVdGDuI60B0ZxGZq1jFhYiiIBEzmVlqGPH76zupNfoM= =vDNO -----END PGP SIGNATURE----- --=-/W6v1yMHNaNeUmifzBA5--