Re: [PATCH 2/3] drivers: mmc: core: sdio.c: fixed coding style error on for() statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18 Oct 2012, at 17:06, Sangho Yi <antiroot@xxxxxxxxx> wrote:

> add a whitespace after ";" on for statement, to follow a coding style guideline.
> 
> Signed-off-by: Sangho Yi <antiroot@xxxxxxxxx>
> ---
> drivers/mmc/core/sdio.c |    4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c
> index 14326e8..df09b63 100644
> --- a/drivers/mmc/core/sdio.c
> +++ b/drivers/mmc/core/sdio.c
> @@ -819,7 +819,7 @@ static void mmc_sdio_remove(struct mmc_host *host)
> 	BUG_ON(!host);
> 	BUG_ON(!host->card);
> 
> -	for (i = 0;i < host->card->sdio_funcs;i++) {
> +	for (i = 0; i < host->card->sdio_funcs; i++) {
> 		if (host->card->sdio_func[i]) {
> 			sdio_remove_func(host->card->sdio_func[i]);
> 			host->card->sdio_func[i] = NULL;
> @@ -1151,7 +1151,7 @@ int mmc_attach_sdio(struct mmc_host *host)
> 	/*
> 	 * ...then the SDIO functions.
> 	 */
> -	for (i = 0;i < funcs;i++) {
> +	for (i = 0; i < funcs; i++) {
> 		err = sdio_add_func(host->card->sdio_func[i]);
> 		if (err)
> 			goto remove_added;
> -- 
> 1.7.9.5
> 
> --

Reviewed-by: Philip Rakity <prakity@xxxxxxxxxx>

> 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-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux