Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755238AbbKUViU (ORCPT ); Sat, 21 Nov 2015 16:38:20 -0500 Received: from smtprelay0112.hostedemail.com ([216.40.44.112]:56916 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751059AbbKUViS (ORCPT ); Sat, 21 Nov 2015 16:38:18 -0500 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:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3866:3867:3868:3870:3873:4321:4384:5007:6261:6691:10004:10400:10848:11026:11657:11658:11914:12043:12296:12517:12519:12555:12679:12740:13069:13311:13357:14659:21080:30009:30012:30054: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:1,LUA_SUMMARY:none X-HE-Tag: doll57_827dcbab0ac21 X-Filterd-Recvd-Size: 1828 Message-ID: <1448141893.4505.25.camel@perches.com> Subject: Re: [PATCH] drivers: staging: vme: Fixed code style issues From: Joe Perches To: Egor Uleyskiy , Greg Kroah-Hartman Cc: Manohar Vanga , Martyn Welch , Trivial Patch Monkey , linux-kernel@vger.kernel.org Date: Sat, 21 Nov 2015 13:38:13 -0800 In-Reply-To: <1448141196-10060-1-git-send-email-egor.ulieiskii@gmail.com> References: <1448141196-10060-1-git-send-email-egor.ulieiskii@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.16.5-1ubuntu3 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: 1084 Lines: 28 On Sat, 2015-11-21 at 23:26 +0200, Egor Uleyskiy wrote: trivia: Some might consider this patch fixes too many issues in one patch and should be broken up into a patch series. > > diff --git a/drivers/staging/vme/devices/vme_pio2_core.c b/drivers/staging/vme/devices/vme_pio2_core.c [] > retval = vme_master_set(card->window, 1, card->base, 0x10000, VME_A24, > - (VME_SCT | VME_USER | VME_DATA), VME_D16); > + (VME_SCT | VME_USER | VME_DATA), VME_D16); unnecessary parentheses around VME_ constants > @@ -343,7 +343,7 @@ static int pio2_probe(struct vme_dev *vdev) > retval = vme_irq_request(vdev, card->irq_level, vec, > - &pio2_int, (void *)card); > + &pio2_int, (void *)card); unnecessary cast to (void *) here and in other places. You could fix these in follow-on patch(es) or revisions like a patch set of this one. -- 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/