Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754745AbcLaQbZ (ORCPT ); Sat, 31 Dec 2016 11:31:25 -0500 Received: from smtprelay0060.hostedemail.com ([216.40.44.60]:38506 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754698AbcLaQbY (ORCPT ); Sat, 31 Dec 2016 11:31:24 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:355:379:541:599:968:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1538:1593:1594:1711:1714:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3350:3622:3865:3866:3867:3868:3870:3871:3872:3874:4321:5007:10004:10400:10471:10848:11026:11232:11473:11658:11914:12438:12740:12760:12895:13069:13255:13311:13357:13439:14659:21080:21434:30054:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:22,LUA_SUMMARY:none X-HE-Tag: laugh27_80416e21f712a X-Filterd-Recvd-Size: 1507 Message-ID: <1483201880.1955.10.camel@perches.com> Subject: Re: [PATCH] This continues from this commit: 52f5684c8e1e ("kernel: use macros from compiler.h instead of __attribute__((...))") From: Joe Perches To: Herbert Xu Cc: gidisrael@gmail.com, davem@davemloft.net, nhorman@tuxdriver.com, akpm@linux-foundation.org, geert@linux-m68k.org, linux-kernel@vger.kernel.org Date: Sat, 31 Dec 2016 08:31:20 -0800 In-Reply-To: <20161231090325.GA16976@gondor.apana.org.au> References: <1483144873-2932-1-git-send-email-gidisrael@gmail.com> <1483145368.1955.6.camel@perches.com> <20161231090325.GA16976@gondor.apana.org.au> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.1-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 485 Lines: 13 On Sat, 2016-12-31 at 17:03 +0800, Herbert Xu wrote: > On Fri, Dec 30, 2016 at 04:49:28PM -0800, Joe Perches wrote: > > > > Perhaps it'd be better to remove the declaration/prototype > > of crypto_ablkcipher_show and surround the definition of > > crypto_ablkcipher_show with #ifdef CONFIG_PROC_FS / #endif > > No that's stupid. We want to maximise the compiler coverage. stupid is rather a strong word for the most common technique used in the kernel to avoid compiler warnings.