Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757304Ab2JRQrc (ORCPT ); Thu, 18 Oct 2012 12:47:32 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:42114 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756287Ab2JRQrb (ORCPT ); Thu, 18 Oct 2012 12:47:31 -0400 Message-ID: <1350578849.3072.74.camel@joe-AO722> Subject: Re: [PATCH 1/6] mmc: core: sdio_io.c: Fixed lines with > 80 chars From: Joe Perches To: Sangho Yi Cc: paul.gortmaker@windriver.com, stefan.xk.nilsson@stericsson.com, linus.walleij@linaro.org, ulf.hansson@stericsson.com, rjw@sisk.pl, girish.shivananjappa@linaro.org, cjb@laptop.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org Date: Thu, 18 Oct 2012 09:47:29 -0700 In-Reply-To: <1350577919-2750-1-git-send-email-antiroot@gmail.com> References: <1350577919-2750-1-git-send-email-antiroot@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.6.0-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: 881 Lines: 25 On Fri, 2012-10-19 at 01:31 +0900, Sangho Yi wrote: > I fixed lines over 80 characters per line. If you really must do these things, please use checkpatch.pl --strict for guidance on how to align function arguments. > diff --git a/drivers/mmc/core/sdio_io.c b/drivers/mmc/core/sdio_io.c [] > @@ -664,7 +665,8 @@ void sdio_f0_writeb(struct sdio_func *func, unsigned char b, unsigned int addr, > > BUG_ON(!func); > > - if ((addr < 0xF0 || addr > 0xFF) && (!mmc_card_lenient_fn0(func->card))) { > + if ((addr < 0xF0 || addr > 0xFF) && > + (!mmc_card_lenient_fn0(func->card))) { ugly alignment and unnecessary parenthesis 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/