Message ID | 1382985970-14583-1-git-send-email-ulf.hansson@linaro.org |
---|---|
State | Accepted |
Commit | ecd3a7dad982aeba6409ef6d933fd7e372a70127 |
Headers | show
Return-Path: <patchwork-forward+bncBDF57NG2XIHRB57BXKJQKGQEXBTJC6Y@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f198.google.com (mail-qc0-f198.google.com [209.85.216.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1BA78244A7 for <linaro@patches.linaro.org>; Mon, 28 Oct 2013 18:46:15 +0000 (UTC) Received: by mail-qc0-f198.google.com with SMTP id k18sf18095993qcv.5 for <linaro@patches.linaro.org>; Mon, 28 Oct 2013 11:46:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=+m+vCc4wg5z3IXFmzwC5JIoOYvhpJPpne9x9+Gi5eLI=; b=Jrwnx7cwpRCcpVNbjIk5T8TLjdWvmfe1KcTCSSG2dCP+HhB/w9qo2pvvJURC9pF2MC ABLuJIWrC6kDKClaRjHpJcDv/kzeo/iyZ7MDl8Gr67sQZdTPq5VTzw/qCqfWEpO5pKcN PPCP2EmJu3vtaYYYA/xYI9rKoLazyLvc7lXV11/CezqFLF8I2uceG2ZwMsozE5Nb4vTW Wa9S3oId05aYWcPNJy7RpfkALOQk0PoVg0MGN8y//3hxkBlNeWzrZjJq7RoUW2eYEi6K fl81wh5oD8Vva2rIMz/3dwS8SCuEiM1XWahesSpBt9BYKSTjavEx5MxYqptSf4QE6SW6 3B7w== X-Gm-Message-State: ALoCoQl5z9sGSiY77Zo4oNrLR7lOx1+edcNYA8XSynvuTXZ1divrnFfJjHppGy0TqhNGEpDhKJ/O X-Received: by 10.236.135.211 with SMTP id u59mr21689185yhi.43.1382985975641; Mon, 28 Oct 2013 11:46:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.120.199 with SMTP id le7ls2141757qeb.91.gmail; Mon, 28 Oct 2013 11:46:15 -0700 (PDT) X-Received: by 10.220.74.69 with SMTP id t5mr14326352vcj.18.1382985975526; Mon, 28 Oct 2013 11:46:15 -0700 (PDT) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by mx.google.com with ESMTPS id mj10si6088788vcb.12.2013.10.28.11.46.15 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Oct 2013 11:46:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.45 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.45; Received: by mail-vb0-f45.google.com with SMTP id p6so3743300vbe.18 for <patchwork-forward@linaro.org>; Mon, 28 Oct 2013 11:46:15 -0700 (PDT) X-Received: by 10.52.230.102 with SMTP id sx6mr12148626vdc.15.1382985975441; Mon, 28 Oct 2013 11:46:15 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp146220vcz; Mon, 28 Oct 2013 11:46:15 -0700 (PDT) X-Received: by 10.60.115.10 with SMTP id jk10mr1329383oeb.74.1382985974813; Mon, 28 Oct 2013 11:46:14 -0700 (PDT) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx.google.com with ESMTPS id w10si9980260obo.147.2013.10.28.11.46.14 for <patches@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Oct 2013 11:46:14 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.214.182 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=209.85.214.182; Received: by mail-ob0-f182.google.com with SMTP id wn1so4108167obc.27 for <patches@linaro.org>; Mon, 28 Oct 2013 11:46:14 -0700 (PDT) X-Received: by 10.182.61.8 with SMTP id l8mr127955obr.88.1382985974354; Mon, 28 Oct 2013 11:46:14 -0700 (PDT) Received: from localhost.localdomain (sccc-66-78-236-243.smartcity.com. [66.78.236.243]) by mx.google.com with ESMTPSA id m7sm28530178obo.7.2013.10.28.11.46.13 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Oct 2013 11:46:13 -0700 (PDT) From: Ulf Hansson <ulf.hansson@linaro.org> To: linux-mmc@vger.kernel.org, Chris Ball <cjb@laptop.org> Cc: Ulf Hansson <ulf.hansson@linaro.org> Subject: [PATCH 1/2] mmc: core: Silence compiler warning in __mmc_switch Date: Mon, 28 Oct 2013 19:46:09 +0100 Message-Id: <1382985970-14583-1-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.45 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c index aae8d8b..e5b5eeb 100644 --- a/drivers/mmc/core/mmc_ops.c +++ b/drivers/mmc/core/mmc_ops.c @@ -414,7 +414,7 @@ int __mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value, int err; struct mmc_command cmd = {0}; unsigned long timeout; - u32 status; + u32 status = 0; bool ignore_crc = false; BUG_ON(!card);
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> --- drivers/mmc/core/mmc_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)