Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753110AbbDSWBY (ORCPT ); Sun, 19 Apr 2015 18:01:24 -0400 Received: from mail-la0-f43.google.com ([209.85.215.43]:32799 "EHLO mail-la0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752782AbbDSWBW (ORCPT ); Sun, 19 Apr 2015 18:01:22 -0400 Message-ID: <553425AE.909@gmail.com> Date: Mon, 20 Apr 2015 00:01:18 +0200 From: Mateusz Kulikowski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Joe Perches CC: apw@canonical.com, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] checkpatch: suggest using eth_zero_addr() and eth_broadcast_addr() References: <1429470246-15988-1-git-send-email-mateusz.kulikowski@gmail.com> <1429470246-15988-3-git-send-email-mateusz.kulikowski@gmail.com> <1429474813.2947.34.camel@perches.com> In-Reply-To: <1429474813.2947.34.camel@perches.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 742 Lines: 22 Hi Joe, On 19.04.2015 22:20, Joe Perches wrote: (...) >> +# check for memset(foo, 0xFF, ETH_ALEN) that could be eth_broadcast_addr >> + if ($^V && $^V ge 5.10.0 && >> + $line =~ /^\+(?:.*?)\bmemset\s*\(\s*$FuncArg\s*,\s*$FuncArg\s*\,\s*ETH_ALEN\s*\)/s) { > > Please align the $line with the $^V above it. Thanks for review - I'll post v2 soon; Sorry for alignment issues - shame on me and my editor. (I've found that PATCH 1/2 was also not aligned - will fix it as well) Regards, Mateusz -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/