Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753068Ab3J2SgB (ORCPT ); Tue, 29 Oct 2013 14:36:01 -0400 Received: from smtprelay0147.hostedemail.com ([216.40.44.147]:48438 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751305Ab3J2SgA (ORCPT ); Tue, 29 Oct 2013 14:36:00 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::,RULES_HIT:41:355:379:541:599:988:989:1260:1261:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2194:2199:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3868:3874:4321:4605:5007:6119:6120:7652:7901:7903:10004:10400:10848:11026:11232:11658:11914:12517:12519:12740:13069:13311:13357,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: board78_6e4671af3d11d X-Filterd-Recvd-Size: 1626 Message-ID: <1383071755.12439.17.camel@joe-AO722> Subject: Re: [PATCH 1/2] spi: add Intel Mid SSP driver From: Joe Perches To: David Cohen Cc: broonie@kernel.org, ning.li@intel.com, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Fei Yang Date: Tue, 29 Oct 2013 11:35:55 -0700 In-Reply-To: <526FFED4.4070902@linux.intel.com> References: <1383069950-27754-1-git-send-email-david.a.cohen@linux.intel.com> <1383070766.12439.13.camel@joe-AO722> <526FFED4.4070902@linux.intel.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.8.4-0ubuntu1 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: 911 Lines: 30 On Tue, 2013-10-29 at 11:30 -0700, David Cohen wrote: > Hi Joe, > > On 10/29/2013 11:19 AM, Joe Perches wrote: > > On Tue, 2013-10-29 at 11:05 -0700, David Cohen wrote: > >> This patch adds driver for ssp spi interface on Intel Mid platform. > > > > A few simple notes: > > > > Please consider using checkpatch. > > I did and got no warnings. But haven't used --strict option. Interesting. I thought there was a return (foo); statement that should have been marked, but I didn't actually run checkpatch. static inline u32 is_rx_fifo_empty(struct ssp_drv_context *sspc) +{ + return ((read_SSSR(sspc->ioaddr) & SSSR_RNE) == 0); +} This could be bool too -- 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/