Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965325AbZLHAyN (ORCPT ); Mon, 7 Dec 2009 19:54:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965310AbZLHAyM (ORCPT ); Mon, 7 Dec 2009 19:54:12 -0500 Received: from mail-vw0-f197.google.com ([209.85.212.197]:65364 "EHLO mail-vw0-f197.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965308AbZLHAyL convert rfc822-to-8bit (ORCPT ); Mon, 7 Dec 2009 19:54:11 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=GVXNEO1c6xhJOUSu0+FWbAEEAKkUbUy4euVNzwhlwK/5aavmCuWmHdUqy6WfQ5OOzq DAdO9CDnKybJ03peqchmvyT+h0ecCXHFdba+ell1eSsGPzr+HVT5NGgFUdTdeSbd1fiy yJZJIe48sBXRJ1+dly/ey3hX7iIr4OFRVq2G0= MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 7 Dec 2009 17:54:17 -0700 X-Google-Sender-Auth: 2af74597d726e41a Message-ID: Subject: Re: [PATCH 4/5] sh: stylistic improvements for the DMA driver From: Dan Williams To: Guennadi Liakhovetski Cc: linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, Nobuhiro Iwamatsu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 820 Lines: 22 On Fri, Dec 4, 2009 at 11:45 AM, Guennadi Liakhovetski wrote: > Signed-off-by: Guennadi Liakhovetski > --- > ?drivers/dma/shdma.c | ? 34 +++++++++++++++++----------------- > ?drivers/dma/shdma.h | ? 14 +++++++------- > ?2 files changed, 24 insertions(+), 24 deletions(-) > [..] > -static int dmae_is_idle(struct sh_dmae_chan *sh_chan) > +static int dmae_is_busy(struct sh_dmae_chan *sh_chan) This one isn't purely style, I agree with it, but think it would be a bit cleaner to return a bool rather than an error code. -- Dan -- 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/