Re: [PATCH 1/3] drivers: mmc: core: sdio.c: fixed lines with > 80chars

From: Philip Rakity
Date: Wed Oct 17 2012 - 15:35:09 EST



On 17 Oct 2012, at 15:13, Sangho Yi <antiroot@xxxxxxxxx> wrote:

> Fixed coding style warning cases for exceeding 80 chars per line on
> sdio.c.
>
> Signed-off-by: Sangho Yi <antiroot@xxxxxxxxx>
> ---
> drivers/mmc/core/sdio.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c
> index 2273ce6..14326e8 100644
> --- a/drivers/mmc/core/sdio.c
> +++ b/drivers/mmc/core/sdio.c
> @@ -47,7 +47,8 @@ static int sdio_read_fbr(struct sdio_func *func)
>
> if (data == 0x0f) {
> ret = mmc_io_rw_direct(func->card, 0, 0,
> - SDIO_FBR_BASE(func->num) + SDIO_FBR_STD_IF_EXT, 0, &data);
> + SDIO_FBR_BASE(func->num) + SDIO_FBR_STD_IF_EXT,
> + 0, &data);
> if (ret)
> goto out;
> }
> @@ -619,7 +620,8 @@ static int mmc_sdio_init_card(struct mmc_host *host, u32 ocr,
> card->type = MMC_TYPE_SD_COMBO;
>
> if (oldcard && (oldcard->type != MMC_TYPE_SD_COMBO ||
> - memcmp(card->raw_cid, oldcard->raw_cid, sizeof(card->raw_cid)) != 0)) {
> + memcmp(card->raw_cid, oldcard->raw_cid,
> + sizeof(card->raw_cid)) != 0)) {
could you ident the sizeof one more tab stop
> mmc_remove_card(card);
> return -ENOENT;
> }
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/