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: 9732995 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 9ECCE6020B for ; Thu, 18 May 2017 09:30:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 873D128808 for ; Thu, 18 May 2017 09:30:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7B63E287FE; Thu, 18 May 2017 09:30:04 +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.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 F3CD628800 for ; Thu, 18 May 2017 09:30:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754803AbdERJaD (ORCPT ); Thu, 18 May 2017 05:30:03 -0400 Received: from mail-wr0-f169.google.com ([209.85.128.169]:36313 "EHLO mail-wr0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754616AbdERJaA (ORCPT ); Thu, 18 May 2017 05:30:00 -0400 Received: by mail-wr0-f169.google.com with SMTP id l50so29192183wrc.3 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=rUZlsxNubbPBD8YJDFA6Dtxs/+m/lsCRnkiQxnW+u9TbE8ORahBO2K4OOxsLShP+Vn BrXyaIowOabHo6pBHug6lD7yzfunY3aMH412L0p11qxXsX+xwFKJvdbbDh4pIAnkfAwK dWqm86nVI3Jw3fSbA/uvRqL4oS/i+FSS01g9Fejf0H7sCYCwJeZ6oLneOTWhpDWoJ4AF 5yACHbk5LI8bpd2j3L7mfQwIoADXGmNGrX7Yatzzh/CLtybaw9ntt1Cz/LJf0hUPx17o dtx2g/4RevU3FMri5uuv2XId65G2w1dQs5qpAxU5RxsepW0yVDs1MgJLpgO4KknZSSyo YxLg== X-Gm-Message-State: AODbwcCbf/jaDa5HJIge4MFTsrQTj3pFmbGncaPy+w7bMgEGvWdY150G yF6z8XfDfP4UVsTl 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-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@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)