From patchwork Sat Oct 5 01:59:23 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 2990601 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7CD5F9F1C3 for ; Sat, 5 Oct 2013 01:59:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9CF5F202C7 for ; Sat, 5 Oct 2013 01:59:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 92C3120295 for ; Sat, 5 Oct 2013 01:59:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751577Ab3JEB7j (ORCPT ); Fri, 4 Oct 2013 21:59:39 -0400 Received: from mail-yh0-f48.google.com ([209.85.213.48]:40887 "EHLO mail-yh0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196Ab3JEB7j (ORCPT ); Fri, 4 Oct 2013 21:59:39 -0400 Received: by mail-yh0-f48.google.com with SMTP id f11so1182870yha.21 for ; Fri, 04 Oct 2013 18:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=GRi0SenWkEZh8+OW1M/qCGHOh+Upuj1UKnE3lpv9Hyw=; b=soJ62nKX97Oe7/ZNbqrZ6qp+E8lGbxWA0iYVBhin9FgclGrcstWF9c7CXZauqNQSbh Ipv3iby5qsrB+87RPz/adc3rXECyjfGjuvqdSv5a4R0VzoInCwxKMJE/9auZEkevC0qx +dl4ARdllFOFtOzds0B0TcY5NWdvumyPUxhrDm6lnIesMyEzplsMNpfaZRO+MaBWTL+t ZgWIwW/Xhxu6E989x4JWqTA3/9A31L1aGh/EpfUfLQLLrPqehA3zjUrkzJLmNxqE/NcL zaHUwOvmTOlLg9pbi/nAq/9qFRLBDIV8nRRnEGCOf9rxiIgRUs+fQphM3BytHAgu5/k3 B0gg== X-Received: by 10.236.123.208 with SMTP id v56mr12677833yhh.14.1380938378572; Fri, 04 Oct 2013 18:59:38 -0700 (PDT) Received: from localhost.localdomain ([186.207.70.19]) by mx.google.com with ESMTPSA id s4sm23988666yhs.14.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Oct 2013 18:59:37 -0700 (PDT) From: Fabio Estevam To: cjb@laptop.org Cc: linux-mmc@vger.kernel.org, Fabio Estevam , Shawn Guo Subject: [PATCH 1/3] mmc:sdhci-esdhc-imx: Use NULL instead of zero Date: Fri, 4 Oct 2013 22:59:23 -0300 Message-Id: <1380938365-7769-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.8.1.2 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Fabio Estevam Fix the following sparse warning: drivers/mmc/host/sdhci-esdhc-imx.c:617:35: warning: Using plain integer as NULL pointer Cc: Shawn Guo Signed-off-by: Fabio Estevam --- drivers/mmc/host/sdhci-esdhc-imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index b9899e9..086ea52 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c @@ -614,7 +614,7 @@ static void esdhc_request_done(struct mmc_request *mrq) static int esdhc_send_tuning_cmd(struct sdhci_host *host, u32 opcode) { struct mmc_command cmd = {0}; - struct mmc_request mrq = {0}; + struct mmc_request mrq = { NULL }; struct mmc_data data = {0}; struct scatterlist sg; char tuning_pattern[ESDHC_TUNING_BLOCK_PATTERN_LEN];