Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2310196ybc; Wed, 13 Nov 2019 12:18:53 -0800 (PST) X-Google-Smtp-Source: APXvYqxqEyVYrZ0Rp6rx4Z/2L0SI7/iWC2cRPlL2ChptRiwTo1KgZVYFkbp8gmEhVYqJrZWMDDa5 X-Received: by 2002:a17:906:459:: with SMTP id e25mr4692229eja.259.1573676333741; Wed, 13 Nov 2019 12:18:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573676333; cv=none; d=google.com; s=arc-20160816; b=OehagB/dmLvJIgD3+PmMj/Q1Klqna2+bH1ZYx2C4nhCOzmgpDJh5Z235ttgzJEiRwk S5VUA5K0OIKm9nkWtMoUkduPq8LGBqVM6MckrSDD0uW3uDW+6wVA5Q3DYdLwcvIJrPO6 OqYz0RJqzNoLukKCs0+KqExqb6J7jasIdqS6qyOcUUzNQ1riA5jnV6b6aaUzkHhRSHVU sYlz5QDVZ+9+C0hHHa6+L8aDaz1P530362/7xYeOrw6RIT0+RkdXsRi/i4eJLlASiafN IKvlryjrv8emAgRmaVYsBmgrh27+7EYqo0FXW4VeJ2E3vVGmRWBk0xlf+18BXPMFzGkX thjw== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=iny6e0qJTJxC4BgPqurBzccrt69nT8URGczgExq8a/I=; b=oCMvjetXwVF+QSgCn2qREyxzTQqcUk/EB1lxjN2bE2jkIiPobairmOho5fx1Kdw8ec jzBuPLkyzaAvw/cf/9eZKHI0EgyP/m61tf8OCo/Rzq/tg+mYBqdKJQEPPkUPsfCdqfp9 rCnXymlgpxbZ3ESASqehNMHRxr0K3gvOaoTc5+n4gY8eY4atxjYfU1L3p7xQfFYzP3mq BLzae4Qamley9h2kNrRwYwneBlNak6epcDOVCHruYCrDx6o4cqWqtyMCBrmik3Ivb/1G V5ERtamByzAopoLAP4wHFgB/HmpMXgu2afxSLHfBO7BDU6pM1jUbSTxGm4Fx9Lmn017F O0xQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id mj10si1925239ejb.7.2019.11.13.12.18.28; Wed, 13 Nov 2019 12:18: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726543AbfKMUPQ (ORCPT + 99 others); Wed, 13 Nov 2019 15:15:16 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:37336 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbfKMUPQ (ORCPT ); Wed, 13 Nov 2019 15:15:16 -0500 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 2F5EF1203B454; Wed, 13 Nov 2019 12:15:15 -0800 (PST) Date: Wed, 13 Nov 2019 12:15:14 -0800 (PST) Message-Id: <20191113.121514.218723445139450529.davem@davemloft.net> To: poeschel@lemonage.de Cc: gustavo@embeddedor.com, kstewart@linuxfoundation.org, opensource@jilayne.com, tglx@linutronix.de, swinslow@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, keescook+coverity-bot@chromium.org Subject: Re: [PATCH net-next] nfc: pn533: pn533_phy_ops dev_[up,down] return int From: David Miller In-Reply-To: <20191113135039.32086-1-poeschel@lemonage.de> References: <20191113135039.32086-1-poeschel@lemonage.de> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 13 Nov 2019 12:15:15 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lars Poeschel Date: Wed, 13 Nov 2019 14:50:22 +0100 > Change dev_up and dev_down functions of struct pn533_phy_ops to return > int. This way the pn533 core can report errors in the phy layer to upper > layers. > The only user of this is currently uart.c and it is changed to report > the error of a possibly failing call to serdev_device_open. > > Reported-by: coverity-bot > Addresses-Coverity-ID: 1487395 ("Error handling issues") > Fixes: c656aa4c27b1 ("nfc: pn533: add UART phy driver") > Signed-off-by: Lars Poeschel Applied, thanks Lars.