From patchwork Mon Sep 13 13:20:26 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 511613 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=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 E8395C4332F for ; Mon, 13 Sep 2021 13:25:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D13C1610CF for ; Mon, 13 Sep 2021 13:25:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241222AbhIMNZl (ORCPT ); Mon, 13 Sep 2021 09:25:41 -0400 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:34170 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239614AbhIMNXi (ORCPT ); Mon, 13 Sep 2021 09:23:38 -0400 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 1456840279 for ; Mon, 13 Sep 2021 13:20:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1631539252; bh=YdMV9AtCFFKriT3c6sHpvFf+xJsEOIFlGHmRsaTySis=; h=From:To:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HOAAKwvdpdmyH4tdpGVLfBqD7m7LYolgeZaXaejKnCYlIkAt+0WOppnAKz2z1uvmy lRxcsgqJWAwqztZgs00xu+3VwdmR9CGLiuhoKii77BVNDeUHux8Meo/97gXwRRJPEM PwgTSn2e9HlmD9jc03v9jgYNaB9RaT78pBDzO2uqEodYlGCIBj0zWUVLHhJl58x3Qe MsMZwM5ixJ0ZBKcn92c9ite40yrYPNabkOeaOqkx1eM/WTvsjHnLQXxPjA7ggLekS0 MaA5GKbH0bFRmdgzhJ9EMJBf4BIGTPTUIP/kzuz7ZdA55D2tYE6xcoqiqEmzzdm+NX Pw18Y5UF936AA== Received: by mail-wr1-f70.google.com with SMTP id z2-20020a5d4c82000000b0015b140e0562so2675132wrs.7 for ; Mon, 13 Sep 2021 06:20:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YdMV9AtCFFKriT3c6sHpvFf+xJsEOIFlGHmRsaTySis=; b=FGWRmn3x6KFQczUEXSnas3KLBgbNVYxdlNWBayJEq0lFykoYdWXvDL5jUobwzxWGfh TpQ522uTgblKw9vHe1Wtnb53i97fTADqpiUqW0S6nD0A3556XnlzV8IbLR/6UeOvcAWl +bd2FV74YZw+LhuCSTb9xq/951NChItJGOs0rMhHGFNc38a/NOhFtbjl+yrJSOxb6fwl a7xYLO68xASqrquatL6qSBn7ZSceEeM6CEZt4SKfd+md+H1PNPr400/p/hX4fZkbCRDg CwJkgNqefHYFKWK0fLu5ptX0fDt/QhI8NK586DhyPqIfg9CmmlESNWf/wyZ82l23x8Hz y/1Q== X-Gm-Message-State: AOAM531YFamjCUgACRqo4n7kzQ4C9n7QtdtBBKJes+673wL0muaERgf3 Oprf7qYkfd5AlDBTBSAlllGKaICS5cdbOrlRtLiZpiOc1mBrrx/gJG9BjTy0CzHGVuRQduwGhlh KI+T2hLn5pX23tRAqfte9DdmI6Wq6SfIMLA== X-Received: by 2002:a1c:a911:: with SMTP id s17mr11244119wme.84.1631539251775; Mon, 13 Sep 2021 06:20:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDKCa2J0aDKEwfGljc8lrJwSBXahWxEFgvrIqIssT5ml8sBzDELvL1CsHBBwjLD7+R1dAL1A== X-Received: by 2002:a1c:a911:: with SMTP id s17mr11244098wme.84.1631539251649; Mon, 13 Sep 2021 06:20:51 -0700 (PDT) Received: from kozik-lap.lan (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id n3sm7195888wmi.0.2021.09.13.06.20.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Sep 2021 06:20:51 -0700 (PDT) From: Krzysztof Kozlowski To: Krzysztof Kozlowski , Krzysztof Opasiak , Mark Greer , "David S. Miller" , Jakub Kicinski , linux-nfc@lists.01.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Subject: [PATCH v2 06/15] nfc: pn533: use dev_err() instead of pr_err() Date: Mon, 13 Sep 2021 15:20:26 +0200 Message-Id: <20210913132035.242870-7-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210913132035.242870-1-krzysztof.kozlowski@canonical.com> References: <20210913132035.242870-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Print error message with reference to a device. Signed-off-by: Krzysztof Kozlowski --- drivers/nfc/pn533/pn533.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nfc/pn533/pn533.c b/drivers/nfc/pn533/pn533.c index c5f127fe2d45..da180335422c 100644 --- a/drivers/nfc/pn533/pn533.c +++ b/drivers/nfc/pn533/pn533.c @@ -2171,7 +2171,7 @@ void pn533_recv_frame(struct pn533 *dev, struct sk_buff *skb, int status) } if (skb == NULL) { - pr_err("NULL Frame -> link is dead\n"); + dev_err(dev->dev, "NULL Frame -> link is dead\n"); goto sched_wq; }