Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1232649imm; Fri, 27 Jul 2018 13:30:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe2kxythmnkH8nUjvfprQtUYmsOhb1GALNj4tOkpXTQFSLPTDnqA0WaRNZWonnHY4jM9wOe X-Received: by 2002:a17:902:3a3:: with SMTP id d32-v6mr7403658pld.294.1532723459702; Fri, 27 Jul 2018 13:30:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532723459; cv=none; d=google.com; s=arc-20160816; b=Rqyx48RszPEd1OtCdFIsT+9/3OYgLzxyN387qdYDBGzEqH5f5WBzgpraOIgYP0F1Tj nPbulfb7gC8Md1XDFIHaTbF4nwuMZAwK6AvOHfTorpBGkVe+8pRgxJkxcudL87JB/C+x utAiRDZk0gVRx29umiBIqVSa+G1UZNaK1Y4CcChxoCzG9irXc+/Tj+rlVRNsSKXz8rmF yGgM6f0I9uYJ8sRApBSqpgQeakerivuQud2OeVx5jIc301RDI+SfZirBc1M+dHv4UUop 5irRnJi09SY/cvNwsPA17h8irTxT77Vn+4ehXvLMsAzwkSS5OMidTvPFIWdWwp8gulBP f7Hg== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=GEg4gQ+pfFd5R/xNTvI9Vx8Ae5+xUtbGCfesmHV0cew=; b=CIQshg+MArNaOD5j9w4prIwvtZASGhv0RZmuxU7cZ1Z8wANIiFrElojoETiS5Xa/6c ZtZgkKm0zG1dRHBYSKU74glftvSyN24Ya56pJXDWRHXhlvhtMD7UIEEcdD+BLbcUVU+D imXp8sds8NulDzJ5y6Y73wnuHhgKh4dwT/sb8DjBxAVvMk1DLT8vqe0Mco8klAuAH4dm IxEgbXTMnQZzhjgJQky8BdoyLiLaU/ZEeIUZvOnntDfSFQBTXJcGDrCwWIvyvoOCEbB8 9ifvqbnx0vIz5jfiqYP15VlCXMUaVX8lx48BecM69nhFJ4IhuLbY7GJgCj2A2qFLSau1 gmuw== ARC-Authentication-Results: i=1; mx.google.com; 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 j4-v6si4032491pll.101.2018.07.27.13.30.45; Fri, 27 Jul 2018 13:30:59 -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; 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 S2389654AbeG0Vx1 (ORCPT + 99 others); Fri, 27 Jul 2018 17:53:27 -0400 Received: from smtprelay0199.hostedemail.com ([216.40.44.199]:59746 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2389371AbeG0Vx1 (ORCPT ); Fri, 27 Jul 2018 17:53:27 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 441BB100E86C9; Fri, 27 Jul 2018 20:29:55 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::,RULES_HIT:41:355:379:541:599:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1538:1593:1594:1711:1714:1730:1747:1777:1792:2110:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3350:3622:3865:3872:4321:4605:5007:6119:8603:10004:10400:10848:11232:11658:11914:12740:12760:12895:13069:13255:13311:13357:13439:14659:14721:21080:21433:21611:21627:30012:30054:30090:30091,0,RBL:47.151.153.53:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: thing68_3958720ba7e3f X-Filterd-Recvd-Size: 1630 Received: from XPS-9350.home (unknown [47.151.153.53]) (Authenticated sender: joe@perches.com) by omf05.hostedemail.com (Postfix) with ESMTPA; Fri, 27 Jul 2018 20:29:53 +0000 (UTC) Message-ID: <1ccdead80a3a4c7a4032f393f3f9a73623c6656f.camel@perches.com> Subject: Re: [PATCH net-next] net: ethernet: ti: cpsw: replace unnecessarily macroses on functions From: Joe Perches To: Ivan Khoronzhuk Cc: grygorii.strashko@ti.com, davem@davemloft.net, linux-omap@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Fri, 27 Jul 2018 13:29:52 -0700 In-Reply-To: <20180727202348.GC2619@khorivan> References: <20180727191318.18698-1-ivan.khoronzhuk@linaro.org> <98a6d1cd4d313512d66ced3fc25f438449b3c310.camel@perches.com> <20180727193641.GA2619@khorivan> <20180727202348.GC2619@khorivan> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-07-27 at 23:23 +0300, Ivan Khoronzhuk wrote: > For ARM, situation a little bit different: > $ arm-linux-gnueabihf-gcc -c -O2 -DSWITCH foo.c > $ size foo.o > text data bss dec hex filename > 32 0 0 32 20 foo.o [] > $ arm-linux-gnueabihf-gcc -c -O2 foo.c > $ size foo.o > text data bss dec hex filename > 28 0 0 28 1c foo.o [] > So, it's shorter. No worries. I was kinda surprised the object code wasn't identical anyway. cheers, Joe