From patchwork Thu May 18 09:29:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9732999 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 EBE566020B for ; Thu, 18 May 2017 09:30:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBB272882B for ; Thu, 18 May 2017 09:30:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8807F2882A; Thu, 18 May 2017 09:30:19 +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 3C52828812 for ; Thu, 18 May 2017 09:30:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754827AbdERJaD (ORCPT ); Thu, 18 May 2017 05:30:03 -0400 Received: from mail-wr0-f173.google.com ([209.85.128.173]:33583 "EHLO mail-wr0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754689AbdERJaB (ORCPT ); Thu, 18 May 2017 05:30:01 -0400 Received: by mail-wr0-f173.google.com with SMTP id w50so29178990wrc.0 for ; Thu, 18 May 2017 02:30:00 -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=nfCXMWV/+lmiqbuVI9/ZXhXFO3BYey7DcJf3Rn6c1sY=; b=K1brLiE03j4ruSX5ULj7gMwMyJfhwGzD+7vLF1SR6IBpEj+4mdfsrIKOSUwlQZ8V2P 6sGvBtzrH9bmVUdEZ/z7imx9FL4sKNwXqv+P8cAqrpW26M067oES452pckxYgQDX7Py8 S3XJQ+0eNTDInuG5Xe/biSX9IfO3u+QhY0Gx4= 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=nfCXMWV/+lmiqbuVI9/ZXhXFO3BYey7DcJf3Rn6c1sY=; b=ct3eCpUwm5yyKKrN2giVwrBxOpYyV/EPiV2kbtNalDWg1SomyKSwXEK5TRZ4Gqvi9V MLUvq6a/sAjiS9VgSmQFPVAnCSVUoFhUkG1Xxb5zVQVcm4aKludmS1VpAxVy+3WLiZww 9liiUkKRQVT2kGpPb8AsgFqYOCKymfiDX4qLGmxsiO53h2z2kCfKzU0KE4mA+q39AVW+ WDKeiDcdW44AT6YEg1T5EvP9B+lgRbtnnb+Br6yUi/u7gQokygngLtMJaPkrBR7vNi5a 0XC77vIc/C1QVoIfoUlNm8LP14IFX8ApFLbhgX4UCftwb4v7BFWtE7RA0L9lgynFu0RF abUA== X-Gm-Message-State: AODbwcCmZTjRjDGTvYBmeYy9hMjUUpoaYZjokwZQRiGHhmQ4xS+p2jmO zik1zxpVHnFdkXIa X-Received: by 10.46.97.26 with SMTP id v26mr886745ljb.22.1495099799632; Thu, 18 May 2017 02:29:59 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id u24sm829895ljd.34.2017.05.18.02.29.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 May 2017 02:29:58 -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/6 v2] mmc: block: Tag is_rpmb as bool Date: Thu, 18 May 2017 11:29:33 +0200 Message-Id: <20170518092936.9277-3-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170518092936.9277-1-linus.walleij@linaro.org> References: <20170518092936.9277-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 --- ChangeLog v1->v2: - No changes, just resending --- 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 5f29b5625216..f4dab1dfd2ab 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)