From patchwork Sat Apr 5 01:42:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 3941761 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 689BD9F357 for ; Sat, 5 Apr 2014 01:43:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9134720394 for ; Sat, 5 Apr 2014 01:43:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A91322038C for ; Sat, 5 Apr 2014 01:43:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753688AbaDEBnr (ORCPT ); Fri, 4 Apr 2014 21:43:47 -0400 Received: from mail-yh0-f47.google.com ([209.85.213.47]:42708 "EHLO mail-yh0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753615AbaDEBnr (ORCPT ); Fri, 4 Apr 2014 21:43:47 -0400 Received: by mail-yh0-f47.google.com with SMTP id 29so3850379yhl.6 for ; Fri, 04 Apr 2014 18:43:46 -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=0JKnSsbGZIbY1esjOknXiXm1oWoZGGTTU1/6I093R78=; b=QNpOZ9xa8ztNNboh2JVJg5zNHGLS+MDCnqC3lliFwuQ/ba8c22GQvGxs/cscpDfGoy SPmsA9F7CN4wfjEXU7w9ey14XuqarJ9JhTUWhKHbqRzPAImFl07vNfAI20kJcHn5IfQe m57Ar9z3bM7dqKIaBjzY1OvbF6o+QmoMdbcqn/TE/wP+n1xdthmB9NliYFfoKL3t5eOF TIyu5IJRc8DSGmXeMAB0URNJ35oz0NGdvfw964hKb7HsF3NF0z4t8qX4GzYSSiXX0SQF sug0H3c50o9dPp6soJCIaqscB9vLA7ljHfeZUEH9BQGEK4K+ztUWrsKQwlBr3eAQviC9 Amcg== X-Received: by 10.236.41.165 with SMTP id h25mr449696yhb.126.1396662226721; Fri, 04 Apr 2014 18:43:46 -0700 (PDT) Received: from localhost.localdomain (201-27-32-118.dsl.telesp.net.br. [201.27.32.118]) by mx.google.com with ESMTPSA id n5sm18047917yhn.43.2014.04.04.18.43.43 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Apr 2014 18:43:45 -0700 (PDT) From: Fabio Estevam To: chris@printf.net Cc: ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, Fabio Estevam Subject: [PATCH] mmc: card.h: Use NULL instead of 0 for END_FIXUP Date: Fri, 4 Apr 2014 22:42:48 -0300 Message-Id: <1396662168-6501-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.8.3.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 warnings: drivers/mmc/card/block.c:2421:9: warning: Using plain integer as NULL pointer drivers/mmc/core/quirks.c:69:9: warning: Using plain integer as NULL pointer Signed-off-by: Fabio Estevam Acked-by: Ulf Hansson --- include/linux/mmc/card.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index b730272..aa7e57f 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -353,7 +353,7 @@ struct mmc_fixup { #define CID_OEMID_ANY ((unsigned short) -1) #define CID_NAME_ANY (NULL) -#define END_FIXUP { 0 } +#define END_FIXUP { NULL } #define _FIXUP_EXT(_name, _manfid, _oemid, _rev_start, _rev_end, \ _cis_vendor, _cis_device, \