Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp726523imm; Wed, 18 Jul 2018 09:36:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeDtHzDYkrLjD+1PnDz1EtMg0hJQch5CnRKsKD6gkQ9AjGG341xYESYMMeN9xUEQVsdiWqW X-Received: by 2002:a63:3046:: with SMTP id w67-v6mr1989202pgw.176.1531931779471; Wed, 18 Jul 2018 09:36:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531931779; cv=none; d=google.com; s=arc-20160816; b=JJ7riJxACfmWiJAslxDtvyTUZa4bWjh5adEImIblrpXZvWE/gCCri+XgLPshe0c8j6 yJWKIaD7dBH1c/Lu8T7rP2ixcoe1Ak8Iaw0EZHmLvr5NeSrUC+pY1KTj8HQh0/mWKtf4 MajlByHvAIOhFlK7tVPN+Z1P1RMP2H/jfOjlKU2gf0EoUA9mwLMcX8ZcyyxGlfX/tm1L lCaNaBa5tPbclify0jMilsE0YEuIs9ddU+1N9J/x7myxzxKMCuY5OxHtEhNGk9o30PzH wtCi2pXTR5JOJ593Btw/N3VccXKB+/heG9kjS7ESM8uQ1AP2iL0VM33iiZqPfvAzBleh UbEg== 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=xTMsM6LavKgPFGjGlYhdPZ+PUmWsWwXokk1bkK4zYCg=; b=oqzVdu68zXj/hftW8K/8gMHFwXlApgCRX9amDhBTtooPxuDw9Q0q0GNMKq3hOQR21y o5tzjFrYVdCxwdhU7HxKirdps19FDX4noMeMFN3+Qm1ggxnc6ylIEXI3awYMEOGHUige zysoQXIagFAH9soKWdXUGijEYwkIwkBk+TkCk1oPGQ/ojPVXqjYViNBGU0W6Z+W8/L+5 jMv1YvcJfAIu5POA3Du6Hdetacuapd7THKi582/q06txZrIH9NW/hzBl9Ubaz7LPJP1K t/jh3qQsZ+7bNMhI/xQ80ORtPRCd/ZOJzHeROstir0iA9apM6Xp64GBIcQ6S4e6Q3ZFM UEwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=0rfYhtw7; 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 j3-v6si3815821pgs.329.2018.07.18.09.36.04; Wed, 18 Jul 2018 09:36:19 -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=0rfYhtw7; 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 S1731593AbeGRROI (ORCPT + 99 others); Wed, 18 Jul 2018 13:14:08 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:38805 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731258AbeGRROI (ORCPT ); Wed, 18 Jul 2018 13:14:08 -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=xTMsM6LavKgPFGjGlYhdPZ+PUmWsWwXokk1bkK4zYCg=; b=0rfYhtw7AIUlQyEPUQkKJlMTYG4pryvLGCLfkVicSl2acVgyLrm/diLaITB/0eO+sxyjbs73eYdAmsG8XUnG2hEIuXASi/B5x6RQqq/KLtqfAUQIj8zn8OT/DREWIgqgsLnhTF9uafUrWTNwiabHMFDZ1ZYf3iZDy/+CVEfl234=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1ffpPq-00049A-GB; Wed, 18 Jul 2018 18:35:02 +0200 Date: Wed, 18 Jul 2018 18:35:02 +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 3/5] net: fortify eth_platform_get_mac_address() Message-ID: <20180718163502.GC12477@lunn.ch> References: <20180718161035.7005-1-brgl@bgdev.pl> <20180718161035.7005-4-brgl@bgdev.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180718161035.7005-4-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:33PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We'll soon have more sources from which to read the MAC address in this > routine. Make sure the address is correct before returning it. > > Signed-off-by: Bartosz Golaszewski Reviewed-by: Andrew Lunn Andrew