Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp725157imm; Wed, 18 Jul 2018 09:34:44 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeX4VBY5a0xEmsTPYtrFIpGGJAEZeWdnEGcauWYmnNcyHOj9Vzb9/3mrLRec5qbU+o54x1x X-Received: by 2002:a65:6258:: with SMTP id q24-v6mr6420791pgv.131.1531931684783; Wed, 18 Jul 2018 09:34:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531931684; cv=none; d=google.com; s=arc-20160816; b=fiET1wT4anHgMXa/6pgNm47Z2coJ+17F2UiOXiVs7N3E/U3bvfBDGO1zdC3unq71sP 852Nc0f5VyCUHS5fcRumzNPK9Cq+D3v0vAmbjuykXTkc0SfzMQZ9MjKG/uSHKRq87b1P PETsk34mIA2B2e8ZeuHe10INDT8aek1Jv15We/UTPNqZinPxgtl3HzfYagEC0SMiI8qh a5tfL5dKqrNhmsZ1WyGy8nGSsAVG2jJmHRGVIG/TZXUmAGFKm6Zd/5msOhoZSrLxMaQZ sp/SMrN4WIazRJOlns7ZCfStcJXyX1egwVWpdiDRClCv3htZ/02nnLzlWC3u3ggiCZE4 bTpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=4zMX4aMswhPipQ6b/Kzn3AMVk3gE3aZ67GkH+akNITA=; b=QeH4XSbf8wrnFtdq0CZIWhrdrT+ECy0nU5UtxflimtPdbbjvVqhuypcVrzGVLREeDO RvZtvC4EHpEoGiggtJJBKu0vnyMQkbzhjKSU6U5I3dYhSBeBhc3s8M70ylwZh8DiGmy/ IpuC4k6mL/TlYcucuVMO3xiJYy8i0v+xGJVkiOqcmJoONgjugvKdpTopB41VUMZi0RRV Z43eolh8KNPMhQsV2dfchwN5HAA3V83wYwaME7/wNFJiWaeqcrIaUfpF7kAzXqjRLDk2 LfMlLsSSKFkJhJxfF1xDV7a4+dp4wH9Ilsr1yt3Q4yCF+ImyaPqK7HE/cPksn352n/LP h62Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=aDSthZTp; 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 x5-v6si3366468pgr.436.2018.07.18.09.34.29; Wed, 18 Jul 2018 09:34:44 -0700 (PDT) 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=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=aDSthZTp; 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 S1731633AbeGRRL5 (ORCPT + 99 others); Wed, 18 Jul 2018 13:11:57 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:34454 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731314AbeGRRL5 (ORCPT ); Wed, 18 Jul 2018 13:11:57 -0400 Received: by mail-it0-f66.google.com with SMTP id d70-v6so1350908ith.1 for ; Wed, 18 Jul 2018 09:33:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4zMX4aMswhPipQ6b/Kzn3AMVk3gE3aZ67GkH+akNITA=; b=aDSthZTpjT31MurLSGt6Sayil5gclS6Pp/Y7KdAdPUBlhuyqPg8Fd+OEALbaj8oenm grxddqROnJIoZcWZfUEKz2n8/EEtjVl5jbHoZtd48/jHtu+EXq44WnIUOcxvsUgy08xb 0Q3bLZtSGjjXurIBrdt2lTAjQpB2D42hZ/e3/jhO+Lka1BDtqbYtAdoVEDTmaVSZsig6 iLK1k0NH5ghfiTg1kLQLnu3iolbZZ36mRSKx9Sk/m/1KmuDjCXZOCRhQkxyt5tcq8kFJ oPsXE1PRsB/I7Fn6CxfvpTReTEwjpP2uAWgDFvug4o67Ls1P3XNan/xZmkRxS7XJ5rUm gB0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4zMX4aMswhPipQ6b/Kzn3AMVk3gE3aZ67GkH+akNITA=; b=qHUO3tGHzviAcG3x1dsCtH2QX31nQM8xTpz66+gzMkGRd/P17T9nqtA3gWloXGapJs X9F+RrdVCAkj5dFKspTQPp/ZSLDib7ouTrJjfGfZdhvmGLqUjr2NVIZhu2kOcMWEja/E soTbu2ZHjTOKozVXE5jClVPzr1BQU6sjBxxheFJ/+wI3MKK37Zgz0wfmWAqKJWTmdwmB O0G87sl6ITOiGS5GKZg2mSo2Ynk881PwvN+quyEMAPC9Fe3wdSbtf3rSDYEjUvV09+R9 0ZTvlsRtzKCDx1X3wnfO8Rn9Gp++6SyzDn9BlUvX3twtPIBEj2tLZ+eyvxj4bySplxF1 yRJw== X-Gm-Message-State: AOUpUlFaAgrakBrOB88jOCJ/lgwjugKNAqJT9AeHgWeQX25bYE6V2xz1 5NocVzauG+tLgpjQsSsDYCo3O6lNVU4Egec3bEOkeA== X-Received: by 2002:a02:b70b:: with SMTP id g11-v6mr6282458jam.34.1531931595176; Wed, 18 Jul 2018 09:33:15 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a5e:9402:0:0:0:0:0 with HTTP; Wed, 18 Jul 2018 09:33:14 -0700 (PDT) In-Reply-To: <20180718163109.GB12477@lunn.ch> References: <20180718161035.7005-1-brgl@bgdev.pl> <20180718161035.7005-3-brgl@bgdev.pl> <20180718163109.GB12477@lunn.ch> From: Bartosz Golaszewski Date: Wed, 18 Jul 2018 18:33:14 +0200 Message-ID: Subject: Re: [PATCH 2/5] net: add an info message to eth_platform_get_mac_address() To: Andrew Lunn Cc: Sekhar Nori , Kevin Hilman , Russell King , Grygorii Strashko , "David S . Miller" , Srinivas Kandagatla , Lukas Wunner , Rob Herring , Florian Fainelli , Dan Carpenter , Ivan Khoronzhuk , David Lechner , Greg Kroah-Hartman , Linux ARM , Linux Kernel Mailing List , linux-omap@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-07-18 18:31 GMT+02:00 Andrew Lunn : > On Wed, Jul 18, 2018 at 06:10:32PM +0200, Bartosz Golaszewski wrote: >> From: Bartosz Golaszewski >> >> Many drivers that read the MAC address from EEPROM or MTD emit a log >> message when they succeed. Since this function is meant to be reused >> in those drivers instead of reimplementing the same operation >> everywhere, add an info message when we successfully read the MAC >> address. > > Hi Bartosz > > This makes eth_platform_get_mac_address() generally more verbose, > which i guess people won't like. To keep it backwards compatible, it > would be better to issue the message just when EEPROM to MTD is used. > > Andrew This function should be used at most once per interface - I guess it's not like it's a huge impact on verbosity. Bart