Received: by 10.223.164.202 with SMTP id h10csp3248017wrb; Tue, 28 Nov 2017 08:21:41 -0800 (PST) X-Google-Smtp-Source: AGs4zMYrVIH4l/bP5wxXi/eCTmK3ObnZYY9qJ8RiRjIS/ve5tqsJhoYZgoqn9Sii0uqy+/sUdlEk X-Received: by 10.99.160.100 with SMTP id u36mr41207290pgn.22.1511886101861; Tue, 28 Nov 2017 08:21:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511886101; cv=none; d=google.com; s=arc-20160816; b=pZtTesxFSmVtoML3wQQI12RDMLTxkHQ7zpuV/8qfE71Iat5DmyIMmcp6iHKqko34xZ 9+nkrR44kXUNiaL5aXBzqa5tou2s4UAOfS5vnqrz3sYbDq0om5mgcmYGnsuDwzjiShFM KVJ2GvSgISw8bnXLCHw62G9Ar87nhCFeOSbMeo1oujqlqeE6wWmfSIjgnAeG+tHAWoaD V475oKsrUWKk/Y6TTd2zI8d3vuiMwKaEo/eskAVqsn9UZCmmKMCAr2Qn09IsxwoWar0i mgDfynZ1y4tSDgpyn4JRMOFZI6++38bj2Qk0wftlv8DK3M4IhJ5C4D8a8RvWypX5GLPT Ta3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=eEjNR4O+ii11v2bY4XGSLRVtWLY3QtHf9eA+aeClxS0=; b=RgHwZC1o6G8S9dxtAvYl4XIUTHBghH2CckI8OsAlZU62wmb3NKWa8sMko3xqovfr8L AO8r6mskiLH7rPeT80lmUfv02UkIoK0GdtHGImu1slNOtuV0BQ0iHcGOArjEC25O8h82 61VzctUXOB9JV0A7oeg2vrjmVGkSY4eRO9WTYv5zrOFovep8DL5TZPGFN0Npmb9LYqgt wkAOx+SEYbe+Tx2TlNowbyW/shG1A9RTOmITIPiua+F3MQKgdNmBJMgSbm8LmnTZGu3o PtaUBisv7EkSRDFLDGq7QwPMFlAkp3gt2Bo6iEPgdofSA5CCaiONXrLduIcTzNtrwoGC UixQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lyle-org.20150623.gappssmtp.com header.s=20150623 header.b=KBIE5wMw; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n7si25643354pls.829.2017.11.28.08.21.29; Tue, 28 Nov 2017 08:21:41 -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; dkim=pass header.i=@lyle-org.20150623.gappssmtp.com header.s=20150623 header.b=KBIE5wMw; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753288AbdK1QTD (ORCPT + 77 others); Tue, 28 Nov 2017 11:19:03 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:41132 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752860AbdK1QTA (ORCPT ); Tue, 28 Nov 2017 11:19:00 -0500 Received: by mail-pf0-f195.google.com with SMTP id j28so131039pfk.8 for ; Tue, 28 Nov 2017 08:19:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lyle-org.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=eEjNR4O+ii11v2bY4XGSLRVtWLY3QtHf9eA+aeClxS0=; b=KBIE5wMwG27+sJcm3r9zqyxQIU9ee28JwedTP/YR1kAd6SxHSGFo49vWlI56VSKAfb vyYLDxsm3VBq2SKK63MpUHgVxeaOkin/af3G5WlWFZxTF4qgheZRiN2mhvbnvms66hKw UQbnvOrZvE3ceq9enfqCjebUYQacLGeS5zwvGPhfCHXkUN+HbzIo94i9ChNvtL7M9/7i sTIDlAx1uYsUvTUFLkG4HRO25LaFyhvaKwBBp48Fq646+9zA/FUlcMYKaOb4dAChHnuC FEVHyu0zpQgdb492UZ53QK3U8phuINZFMdbNhn6QZT52hrkut3H+YxLAApGF+EAJYSO8 Vd4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=eEjNR4O+ii11v2bY4XGSLRVtWLY3QtHf9eA+aeClxS0=; b=tcL0hgGx+0L4DhtOd7JT5B33IQX2JqAoiCJgPbEVJwGVRUwhzs9beIJWhi2OKiIq2c s2cuEnMMFwJZ8O2nNC6Wh/W7EZKMDHW9g195pGQfVtzwy5Gfyf5Q8fyvD5gfne68Wjh3 5QHRsmjKgxw5KtI8A94QB0O8CZkMWUrELs1VGAS4QRRL5ui5pjxQnBChhx+ZJles5bET 3QPLaua4RXdRbXBLDGLjp3UsqurZCWkp3WuMVvtbNOOwTzbddRJe6WGJ1I0et4hxRd5f J41zTmD4oF3rglpq5z0k1p092R9KntatAXodBmDcwlyWamhqOoOhJ5+6V1q1kzaTKWYH MXNA== X-Gm-Message-State: AJaThX5OJD7vQyhINBBxFVwMTWGRsKDY1/2YM2hIwEae8ES1QWCxsJPk LIhvhoXNKScAQnOtgZAIyn/C85Wcu2M= X-Received: by 10.101.77.202 with SMTP id q10mr39703837pgt.95.1511885939670; Tue, 28 Nov 2017 08:18:59 -0800 (PST) Received: from ?IPv6:2600:6c52:6200:383d:a0f8:4aea:fac9:9f39? (2600-6c52-6200-383d-a0f8-4aea-fac9-9f39.dhcp6.chtrptr.net. [2600:6c52:6200:383d:a0f8:4aea:fac9:9f39]) by smtp.gmail.com with ESMTPSA id x6sm49746168pfx.15.2017.11.28.08.18.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Nov 2017 08:18:59 -0800 (PST) Subject: Re: [PATCH] bcache: Use PTR_ERR_OR_ZERO() To: Vasyl Gomonovych , kent.overstreet@gmail.com, shli@kernel.org, mingo@kernel.org, axboe@fb.com, gregkh@linuxfoundation.org, kstewart@linuxfoundation.org, linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org Cc: linux-kernel@vger.kernel.org References: <1511823900-3151-1-git-send-email-gomonovych@gmail.com> From: Michael Lyle Message-ID: Date: Tue, 28 Nov 2017 08:18:57 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1511823900-3151-1-git-send-email-gomonovych@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/27/2017 03:05 PM, Vasyl Gomonovych wrote: > Fix ptr_ret.cocci warnings: > drivers/md/bcache/btree.c:1800:1-3: WARNING: PTR_ERR_OR_ZERO can be used > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR > > Generated by: scripts/coccinelle/api/ptr_ret.cocci > > Signed-off-by: Vasyl Gomonovych lgtm. Reviewed-by: Michael Lyle Will carry in my tree. From 1585279667856478736@xxx Tue Nov 28 03:41:43 +0000 2017 X-GM-THRID: 1585262360209647445 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread