All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene.kim@samsung.com>
To: 'Sachin Kamat' <sachin.kamat@linaro.org>,
	linux-samsung-soc@vger.kernel.org
Cc: patches@linaro.org
Subject: RE: [PATCH 1/2] ARM: SAMSUNG: Silence empty switch warning in sdhci.h
Date: Tue, 12 Feb 2013 10:29:34 -0800	[thread overview]
Message-ID: <1d6e01ce094e$e930ed80$bb92c880$@samsung.com> (raw)
In-Reply-To: <1360131567-583-1-git-send-email-sachin.kamat@linaro.org>

Sachin Kamat wrote:
> 
> Add 'default' case to silence the following warning:
> arch/arm/plat-samsung/include/plat/sdhci.h:356:9: warning: switch with no
> cases
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  arch/arm/plat-samsung/include/plat/sdhci.h |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/plat-samsung/include/plat/sdhci.h b/arch/arm/plat-
> samsung/include/plat/sdhci.h
> index 151cc91..9b87f38 100644
> --- a/arch/arm/plat-samsung/include/plat/sdhci.h
> +++ b/arch/arm/plat-samsung/include/plat/sdhci.h
> @@ -374,6 +374,8 @@ static inline void s3c_sdhci_setname(int id, char
> *name)
>  		s3c_device_hsmmc3.name = name;
>  		break;
>  #endif
> +	default:
> +		break;
>  	}
>  }
> 
> --
> 1.7.4.1

Applied, this and second one.

Thanks.

- Kukjin

      parent reply	other threads:[~2013-02-12 18:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-06  6:19 [PATCH 1/2] ARM: SAMSUNG: Silence empty switch warning in sdhci.h Sachin Kamat
2013-02-06  6:19 ` [PATCH 2/2] ARM: SAMSUNG: Silence empty switch warning in fimc-core.h Sachin Kamat
2013-02-12 18:29 ` Kukjin Kim [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='1d6e01ce094e$e930ed80$bb92c880$@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=patches@linaro.org \
    --cc=sachin.kamat@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.