From patchwork Wed May 10 08:24:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9719423 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 537AF60365 for ; Wed, 10 May 2017 08:25:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 43D4C284E3 for ; Wed, 10 May 2017 08:25:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 38A89284ED; Wed, 10 May 2017 08:25:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DAE74284E3 for ; Wed, 10 May 2017 08:25:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752615AbdEJIZH (ORCPT ); Wed, 10 May 2017 04:25:07 -0400 Received: from mail-qt0-f170.google.com ([209.85.216.170]:36135 "EHLO mail-qt0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752605AbdEJIZF (ORCPT ); Wed, 10 May 2017 04:25:05 -0400 Received: by mail-qt0-f170.google.com with SMTP id m91so20258525qte.3 for ; Wed, 10 May 2017 01:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bsMYCHUFgCb6LWYvSLs6tg+4SsXf6t0r4L5YwTbhXRw=; b=Yyxj573Oua/jVFI/Dme2u262tfNUpZw/5cCU3Yn+etrSsjWzsxOFqllIrWK7Z6M647 9xOtynb2iuc73L7Ak9RAF1BUJpBzm1AaUG0hOcQXF4T4GjHwB1Sqh1abjukwO7sl43mt D5I8rpcIc7CDzl6ITiM8/sV5WCt9mC11pQoOA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bsMYCHUFgCb6LWYvSLs6tg+4SsXf6t0r4L5YwTbhXRw=; b=XjpqXsN5pRyr7qJvj2kgNySCdrR40XXDTr1XcY1o5/V2MIbyRNizbEBpUcKriiaUII b6AssZXac2l/vpCkYMMXGikQMUbOrJy6ScWtKK0+w6IP8mF7cMA1Kprr6aUaEIgSI42v HV/x/+us4Plf/+vMon2F1AvR+6EBkvMFGGqQl1hd5Dk/coGkgC9XA29MI/Cm4Z3EGmzX Ma24bu0M9r7iGTuTPoygSHWUVyOIxhTSzUkYsmL73DYU4kI+wPZvD2HcOs0knR0sHfra DoTRf+4DrF3KHy7qkE5Y7Z8U2Eq3kwDihK6fElDWQmP8sMa4S1/1LMFMVDtNmAvk6Gni GPaA== X-Gm-Message-State: AODbwcBp9cS3DXaSzcpGJBDIimK8M5hpNgB+zE4GOAVFBjjEzBFFKGu2 G7rSbNFGoNDZKD9R X-Received: by 10.25.195.21 with SMTP id t21mr2303556lff.103.1494404704143; Wed, 10 May 2017 01:25:04 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id 17sm401500ljo.56.2017.05.10.01.25.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 May 2017 01:25:02 -0700 (PDT) From: Linus Walleij To: linux-mmc@vger.kernel.org, Ulf Hansson , Adrian Hunter Cc: linux-block@vger.kernel.org, Jens Axboe , Christoph Hellwig , Arnd Bergmann , Bartlomiej Zolnierkiewicz , Paolo Valente , Linus Walleij Subject: [PATCH 3/5] mmc: block: Tag is_rpmb as bool Date: Wed, 10 May 2017 10:24:16 +0200 Message-Id: <20170510082418.10513-4-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170510082418.10513-1-linus.walleij@linaro.org> References: <20170510082418.10513-1-linus.walleij@linaro.org> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The variable is_rpmb is clearly a bool and even assigned true and false, yet declared as an int. Signed-off-by: Linus Walleij --- drivers/mmc/core/block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index be782b8d4a0d..323f3790b629 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core/block.c @@ -443,7 +443,7 @@ static int __mmc_blk_ioctl_cmd(struct mmc_card *card, struct mmc_blk_data *md, struct mmc_request mrq = {}; struct scatterlist sg; int err; - int is_rpmb = false; + bool is_rpmb = false; u32 status = 0; if (!card || !md || !idata)