Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754209AbbGAPIV (ORCPT ); Wed, 1 Jul 2015 11:08:21 -0400 Received: from smtprelay0037.hostedemail.com ([216.40.44.37]:38673 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754157AbbGAPIK (ORCPT ); Wed, 1 Jul 2015 11:08:10 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:968:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3870:3871:3872:3873:4321:5007:6261:6299:10004:10400:10848:11026:11232:11658:11914:12517:12519:12740:13069:13311:13357:21080,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 X-HE-Tag: need44_29b46aa8e5715 X-Filterd-Recvd-Size: 1689 Message-ID: <1435763285.12101.100.camel@perches.com> Subject: Re: [PATCH v2 3/3] Staging: android: uapi: Fix coding style typedef issue From: Joe Perches To: Dan Carpenter Cc: Sohny Thomas , gregkh@linuxfoundation.org, arve@android.com, riandrews@android.com, sumit.semwal@linaro.org, carlos@cgarcia.org, "linux-kernel@vger.kernel.org" , kernel-janitors@vger.kernel.org Date: Wed, 01 Jul 2015 08:08:05 -0700 In-Reply-To: <20150701143132.GZ28762@mwanda> References: <5593EDBF.6010008@zoho.com> <5593EF8E.9020002@zoho.com> <20150701143132.GZ28762@mwanda> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.12.11-0ubuntu3 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: 875 Lines: 28 On Wed, 2015-07-01 at 17:31 +0300, Dan Carpenter wrote: > On Wed, Jul 01, 2015 at 07:17:58PM +0530, Sohny Thomas wrote: > > > > As per checkpatch.pl remove unnecessary typedef > > Here ion_user_handle_t was used only in the header . > > > > Signed-of-by: Sohny Thomas > > The original code was correct. because the typedef is exposed to user-space. (uapi) > Checkpatch.pl is not the king of the > world, which you must obey or die. As Dan once said, "it's less sentient than a squirrel". > It is just a perl script. Don't be a squirrel. Please engage your brain when using the stupid little tool. -- 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/