Received: by 10.213.65.68 with SMTP id h4csp2276912imn; Thu, 5 Apr 2018 12:03:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx4//t3kluYfuxeDH1xHD7OMVj8bjzLeZmevVvwBE0K82k7XMh6aHTmeO9xDsOujbyrSKhRBG X-Received: by 10.99.112.17 with SMTP id l17mr15607156pgc.281.1522954992466; Thu, 05 Apr 2018 12:03:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522954992; cv=none; d=google.com; s=arc-20160816; b=bqWqYUCAkRyopjqcJ6PBvcZKiXhbHC48CiLBcuaBlMsMf9QjJ0MjzROSfL6gBII6G6 AdhGGqTT4GL7t0u2AQUMwoQDNsDFQs3vXsV9WDU7VOE6U3FCq9Bp4qZSu7GhR2IJl/Ia BHJsUB7yiYqYu5CxYIU2SEhw6ilbGWAPAKUjBBpHAJwGYovc+gZnBMfoCvCTvId3YsJf PiDlWJvzQ5JqNjhiZlqGtA9kIaWdC6hiw0mdK4theYBH8NzJZYTIeUN5rlSds+Oe3LVe q3i2rX8NYHLqXBdmo+rhy6X8Owpu72LVZcOX1BkgEn+6gcOxLrgupfXSzj42nkrZzGfY f5nw== 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:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=/AqFYuJZGBjIs9ndKV6v7IsbMe7YB/lVCdBGB5UxGoo=; b=O9mcaLzlZQQfYLGD0rUkZ3Q7sQGf2dvwbrMPu86WnjFEzuNhge9WOcQzxkjX4JjlTD DkZbZjgpxvxkxjvclDdoKxmEy6MDV0ZPOH43gx1lVSVokfCE2cEKPWbvc8KycJX/8MWH EazB7zT0Czzs5yEwtXs2ZaDLY+nBD+8NVR2vXpQeDfb7LUzQiBverXg/HJKX4oVsCbGY 9CX/RRe8FsiUoGscUaiKwt/6pT+Y8nLdpwfjYJrWAbouwrA003Cy42QKY/juAK6w5wHC eVCgFm8ULp+Si58epH+a9KW1I1vxNrDvsN53Uy4iOsBrb7L6MVBi4MTFDbwdQ26nSz0R sx6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=hql2DY+X; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n11-v6si6381866plg.565.2018.04.05.12.02.34; Thu, 05 Apr 2018 12:03:12 -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=@broadcom.com header.s=google header.b=hql2DY+X; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752750AbeDETAz (ORCPT + 99 others); Thu, 5 Apr 2018 15:00:55 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:34416 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752561AbeDETAi (ORCPT ); Thu, 5 Apr 2018 15:00:38 -0400 Received: by mail-wm0-f65.google.com with SMTP id w2so4699291wmw.1 for ; Thu, 05 Apr 2018 12:00:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=/AqFYuJZGBjIs9ndKV6v7IsbMe7YB/lVCdBGB5UxGoo=; b=hql2DY+XMucnX83uC5gqOd1f+ESQTwbY8aHDsSfXcjeJC8bJphg9CnZB5TzVe4fo12 z5JWzS7yb+h4P6Dqqdjhc2yV8MtPkK1WrFKLvnLJXpW7pGUcGwThlNHLDjAwOJSibrFk 6Y0gork7g7oYHhVsl20PwZ8Hjo5wbzLRbXunU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=/AqFYuJZGBjIs9ndKV6v7IsbMe7YB/lVCdBGB5UxGoo=; b=hnFREPDhVeH9KX1pPABFdjFzbfK4LnKpNRUsovEfVYzP1t+ORFxYDFLrryTcEE28E0 5pWGVf/l9Xd1Fd6m4T8WSWF2l+HlhU/SEcAhA/GyWbrCbRDSzaBZN7VkVBr4tPGPjpYA UTdr4Wt1T5Ifp/JuZQH3GZljRq/eht8q6IOg1IqPImEnXTFR3SvcDE/A2LmPWMutJ0dI R+jv5mjrJ064cqQbWJhxIXEqo/t+OdZwRG+GCCzyalegApzRww3tc5DNydgL2WNVSShx o7bOp/et5fmne8pvqp8NWKcFNL72AldVwT+Ucet65Rt4CBOoPJqyUz2twblF4h4u6JZO GiQA== X-Gm-Message-State: ALQs6tAolY5i2J6lshDtW8hSiFAkp3VxZb6nAqJzYYM/sFHpWpHvyiOc oTn6Q0DNSgjC3fPkvwLSCoRHZw== X-Received: by 10.80.186.71 with SMTP id 7mr4086196eds.221.1522954837523; Thu, 05 Apr 2018 12:00:37 -0700 (PDT) Received: from [192.168.178.129] (f140230.upc-f.chello.nl. [80.56.140.230]) by smtp.gmail.com with ESMTPSA id m8sm4830039edi.16.2018.04.05.12.00.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Apr 2018 12:00:37 -0700 (PDT) Subject: Re: [PATCH 07/12] brcmfmac: Convert ALLFFMAC to ether_broadcast_addr To: Joe Perches , linux-kernel@vger.kernel.org References: Cc: Franky Lin , Hante Meuleman , Chi-Hsien Lin , Wright Feng , Kalle Valo , linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, brcm80211-dev-list@cypress.com, netdev@vger.kernel.org From: Arend van Spriel Message-ID: <5AC67254.1000007@broadcom.com> Date: Thu, 5 Apr 2018 21:00:36 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/31/2018 9:05 AM, Joe Perches wrote: > Remove the local ALLFFMAC extern array and use the new global instead. I stumbled upon this one couple of weeks ago. I moved the definition to flowring.c although I considered for a moment to pick up the task you took here valiantly. > Miscellanea: > > o Convert char *mac to const char *mac as it can't be modified The real reason is off course that your new global is const and thus mac variable need to be const as well to avoid compiler warning. I have to agree with Kalle regarding the upstream logistics, but for what it is worth... Acked-by: Arend van Spriel > Signed-off-by: Joe Perches > --- > drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c | 2 -- > drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.h | 2 -- > drivers/net/wireless/broadcom/brcm80211/brcmfmac/flowring.c | 8 ++++---- > 3 files changed, 4 insertions(+), 8 deletions(-)