Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp723053imm; Wed, 18 Jul 2018 09:32:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcMOUXvsE/WtC/XZBLu5ouRXs0uQ1xsPTjuQ/Cnv7I7cYmAQ5mq5838eyszaymmN+GEL3PN X-Received: by 2002:a63:d916:: with SMTP id r22-v6mr6301057pgg.381.1531931553679; Wed, 18 Jul 2018 09:32:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531931553; cv=none; d=google.com; s=arc-20160816; b=Uey1ytKupUFzAopCmYdRSweV6X+5MMbIm3T37/NenDekNUW5Wt4T5+NrjHdApV+tB7 7jBYe3EOcl69q5Qj1cKfABDPd2BlGjbzZpZT/PzYIhDwuNLp5Y+wcYHYAzw3VQxs76ws s6obk9HjTP12tU+RcgtDFsvrhEiZX72tUoSg0RswV6X3KN4w3AZIbQF1yRm/3U0X/5fs UQUHfR5A+cofPqdz+v4qpgsFxiYzoEexn7UTzAm5c7He+uAtwrDS/wcPGHPyRYl3UyE2 Y9VrFIKAxQ6q+9DPsZSyrVaf75HUu26obax9lloahwWszpv3Bv9uNEHhqEzb7vDf432H QXpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=bOaW+1L54nAup1fq2weOn/AzHRwlKkaprONg6QX7mkw=; b=oTXr24Yl9ual+mmV7NQ+rUDI65YStIocdXDfxMz/t58X1RbnaDPuX28mzne8MnfsnY Dbe+MwcyxxUqv1zO2D1o5atSBHmy7EDLn9VaoLZrdloF3Uft678ATwUKBABOrM0Bwrvg Yo/g+wIx9sG5yaJtp10alXyN/q9QV1gZ82tNgYkoK4CDZweeBL06C9WxqT6EUeIx6Wly x5tudEjCbjh6OwnfaKMBQOuWekO7/juybrcdDDKwo8fgLaI3K3TKlRe5SYJ9+xekULeR tSqz39SDsDPEE//RGF41GEzjRHwrzHEwSQHzMgY4G7gZMQZbAFuGp9HqC5oIfY1C44qx SWzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=VEaNS9Iy; 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 e9-v6si3465893pgu.636.2018.07.18.09.32.19; Wed, 18 Jul 2018 09:32:33 -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=@lunn.ch header.s=20171124 header.b=VEaNS9Iy; 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 S1731442AbeGRRKQ (ORCPT + 99 others); Wed, 18 Jul 2018 13:10:16 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:38762 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731105AbeGRRKQ (ORCPT ); Wed, 18 Jul 2018 13:10:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=bOaW+1L54nAup1fq2weOn/AzHRwlKkaprONg6QX7mkw=; b=VEaNS9Iy8GIQKvmQFH/TJeISXBsXBwMcaSxN7eZ9z7Bq/e7gIYDyXzECF8WjTWOUrhD9Psy8re/u9vykYQlpQ3NPqFSkVUTfGvOj2lgoon8ltwERuaGq7Veewi00sTn/YKBnUy4XPvnJ9WPNE/R2tLqpgdNrHxnev1ei4IwU1Uo=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1ffpM5-00043D-M4; Wed, 18 Jul 2018 18:31:09 +0200 Date: Wed, 18 Jul 2018 18:31:09 +0200 From: Andrew Lunn To: Bartosz Golaszewski 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-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, netdev@vger.kernel.org, Bartosz Golaszewski Subject: Re: [PATCH 2/5] net: add an info message to eth_platform_get_mac_address() Message-ID: <20180718163109.GB12477@lunn.ch> References: <20180718161035.7005-1-brgl@bgdev.pl> <20180718161035.7005-3-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180718161035.7005-3-brgl@bgdev.pl> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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