From patchwork Sat Oct 5 01:59:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 2990621 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 27713BF924 for ; Sat, 5 Oct 2013 02:06:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D70E20142 for ; Sat, 5 Oct 2013 02:06:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7767220122 for ; Sat, 5 Oct 2013 02:06:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751307Ab3JECGQ (ORCPT ); Fri, 4 Oct 2013 22:06:16 -0400 Received: from mail-yh0-f48.google.com ([209.85.213.48]:38559 "EHLO mail-yh0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196Ab3JECGQ (ORCPT ); Fri, 4 Oct 2013 22:06:16 -0400 Received: by mail-yh0-f48.google.com with SMTP id f11so1183962yha.21 for ; Fri, 04 Oct 2013 19:06:15 -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:in-reply-to:references; bh=VwDH0MMzpBt7W2c4fEjy3IyOISjYV7OOS95axP5EKuU=; b=mZvsXCfYaxE5kHCpKdyUZAHGsuIoZA75xKAZH2MZ7xrY9k2X9yzT0RsQmLww1kbHwb 6VSCChlB04pTrwdxHqGFYnOw/fyaxV8c5AjIbPNaiAg8MEZ27YISpHt9KSC70714MpJG RaQXbCbG+ghQHgl8Ft+Uo+DTuWL53eGdJMvD8L3z2tupZuLOSjbgmxUP2Gn80VZOBZvV 56r8mFUl0ccGBUARBdNdqnWPLTodXXoRcg3S7ZXjUQE6ypDayamO9agpgySraaAFQD/s H5BlLP2KxBIbZat0B86Z6GBBnOT+C3vOrXI5T/7wXt68IBMK2EENn57C0XRyd7YO9SSS RGUw== X-Received: by 10.236.30.131 with SMTP id k3mr12640104yha.55.1380938383115; Fri, 04 Oct 2013 18:59:43 -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:42 -0700 (PDT) From: Fabio Estevam To: cjb@laptop.org Cc: linux-mmc@vger.kernel.org, Fabio Estevam Subject: [PATCH 3/3] mmc: card.h: Use NULL instead of zero Date: Fri, 4 Oct 2013 22:59:25 -0300 Message-Id: <1380938365-7769-3-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1380938365-7769-1-git-send-email-festevam@gmail.com> References: <1380938365-7769-1-git-send-email-festevam@gmail.com> 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:2371:9: warning: Using plain integer as NULL pointer drivers/mmc/core/quirks.c:61:9: warning: Using plain integer as NULL pointer Signed-off-by: Fabio Estevam --- 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 f42cdbd..5a30d23 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h @@ -350,7 +350,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, \