Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2068688ybg; Thu, 30 Jul 2020 09:32:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlitQfUPDtysN1rG5UKVLAGSwwFayniyHUHQ8ZoTHkDBjwWV9Ow8n3fxW7zePPTKiudEEw X-Received: by 2002:aa7:db4f:: with SMTP id n15mr3428092edt.193.1596126743703; Thu, 30 Jul 2020 09:32:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596126743; cv=none; d=google.com; s=arc-20160816; b=Gu4NYTUtD7FE3NxO4LpP/w/MzHNUP8i0pGFrduay8vZJdmjypHhNmotcJlgh8FGYpk baZnTwh+Jtk5OrnpdrxDla593P5JPW9glkxT7J4A2M4qx9gC8oS+J7uRTHZr6H1JZK+h t3TeSM4/RfoYt/WJmwBlV0rrnyTxElMyQka0wzGYRt2QzvkZ3k25ZodsJMK6k/DOMRLX 3jPd+KzntN8YxssDMwXcXZR2hEH8O4GpEgBc/bH27VgJKUt949NzpDTvkwfK27ciHtRg Y9cKydgoM0MLrbRjexs5hZqznR6WFszozjeUEuA/v0GOZneYkL9WgLN5IWQDnT7jY+16 L5gQ== 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 :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=lhZL6Pg1VacjmIyZabRgO1ohmiqISKl8lk2khLgH1zY=; b=YUS3YHZM9cg27E9NWJzUss8ObnAPPQScK7dVGbH40yvff9fEehLUftDNorEskHjzz5 CjGjhYxPpGMQvrMohNJN8PRVnpXUXB5hutQhIVKaeEDBO/fQVu9p0+LGF/4qVGSHMZg8 qWhrEmda65HR/1ndD8SGNXNX/mRnyUFjoj1e+Qzez5Jf42w9i1IRCpyFhyj/6g4yUf5+ qUH1Otj5g3IE1D8Jcx5mGYZMPGuvsPVGc1MKv2RB54JD9cC0JKVorMGtLkGf/N/dwLPM U590seohsN9tcbCCdkIuZS6sEuisZTnGSFH0MEpANj9LseWkBOSCqJEpxXQe534XA179 I9IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=fBfc+Z5W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c22si3605752edr.146.2020.07.30.09.32.01; Thu, 30 Jul 2020 09:32:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail header.b=fBfc+Z5W; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728452AbgG3Q3w (ORCPT + 99 others); Thu, 30 Jul 2020 12:29:52 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:33422 "EHLO mail2.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbgG3Q3u (ORCPT ); Thu, 30 Jul 2020 12:29:50 -0400 Date: Thu, 30 Jul 2020 16:29:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1596126588; bh=lhZL6Pg1VacjmIyZabRgO1ohmiqISKl8lk2khLgH1zY=; h=Date:To:From:Cc:Reply-To:Subject:From; b=fBfc+Z5WK4LT0RIPNlnzsUdqaHb7L4Rwn/1kWFPjFoSs4fggKqBlhfLaArRzDYHTp QxPAzbWFQVgo2VIlBJQZdqgTY6gS5urh/qD/eIAjfpqGMTJqRgKxwc/vWW4fm50i4P RWkN9MG1296BCrQL2zQjoldG9qg1B+w0c+JlBLWHOAaOnMmmsVyCwhNXYOcB4RnD2U V3PYC0QJVG0sv9aQQdZTQkDQilr+NwoFF0rN+t/wDKNG26ZYxySXFMEcktD6gcKGdm t5uD2uwVTn0y29XG4MdKPIHKkhlmxfmfhhLM2Y1AIC2usc9LXQu/tHVmBLFrEn7YKT 5eWpl9+NRjJGA== To: Andy Shevchenko From: Alexander Lobakin Cc: Alexander Lobakin , Ariel Elior , GR-everest-linux-l2@marvell.com, netdev@vger.kernel.org, "David S. Miller" , Jakub Kicinski , linux-kernel@vger.kernel.org Reply-To: Alexander Lobakin Subject: Re: [PATCH v1] qede: Use %pM format specifier for MAC addresses Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mail.protonmail.ch Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andy Shevchenko Date: Thu, 30 Jul 2020 19:00:57 +0300 > Convert to %pM instead of using custom code. >=20 > Signed-off-by: Andy Shevchenko > --- > drivers/net/ethernet/qlogic/qede/qede_main.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Thanks! Acked-by: Alexander Lobakin > diff --git a/drivers/net/ethernet/qlogic/qede/qede_main.c b/drivers/net/e= thernet/qlogic/qede/qede_main.c > index 1aaae3203f5a..4250c17940c0 100644 > --- a/drivers/net/ethernet/qlogic/qede/qede_main.c > +++ b/drivers/net/ethernet/qlogic/qede/qede_main.c > @@ -144,9 +144,7 @@ static int qede_set_vf_mac(struct net_device *ndev, i= nt vfidx, u8 *mac) > { > =09struct qede_dev *edev =3D netdev_priv(ndev); > =20 > -=09DP_VERBOSE(edev, QED_MSG_IOV, > -=09=09 "Setting MAC %02x:%02x:%02x:%02x:%02x:%02x to VF [%d]\n", > -=09=09 mac[0], mac[1], mac[2], mac[3], mac[4], mac[5], vfidx); > +=09DP_VERBOSE(edev, QED_MSG_IOV, "Setting MAC %pM to VF [%d]\n", mac, vf= idx); > =20 > =09if (!is_valid_ether_addr(mac)) { > =09=09DP_VERBOSE(edev, QED_MSG_IOV, "MAC address isn't valid\n"); > --=20 > 2.27.0 Al