Message ID | 20170518092936.9277-3-linus.walleij@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp629094qge; Thu, 18 May 2017 02:30:18 -0700 (PDT) X-Received: by 10.99.109.9 with SMTP id i9mr3395666pgc.56.1495099818540; Thu, 18 May 2017 02:30:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495099818; cv=none; d=google.com; s=arc-20160816; b=cF/b+Fyw6PXGvcD1Y8K0qgmqGVe/b5wKwlGBeQft5QZiHVswRheZErG07bBBYWBW7A PEOfA3wlc9klktt2NzMKHGcNzjSxmupkdSyU1c7pCWUSwMkWfHcGGjFrIL8eySbbWtjD 1wK/DkLePUYP4MNo5tgouU5kmLx69a7qzIgobF70MKpTDFm/ui3kAeRGdKdJziAcuGCN zLI5mCK4b+sa/QLeXqHVf1nwZZKS1F4FtwXlFs5gTeNX6idrjoceimzYmRjNcHkjCOAR MDUyDfexs1iwUac/d7OQwcNtvdqZaysZVFZYT71MVeF840KYWkE9OKyM/Pmfupv2JmfZ atkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=VcrjJJoIBtfaQPSebT6TFPgFuU//b4gtlxoDDj+3dns=; b=Gl/MOxI/EpSwGWmksQizajuVxtNdrz7vIGzo7sZYezNFGrpbGo0auPdoCeDNbiy2Fh eiA8zI5z1i1uhyHFjTsad9CTe1hI+vHOgiIuM/K00+uDIvxC2ESrzdoj0EH9vTrnUzoK SFGbT9hpVzvKVXemLBS6mll5reh5xaSEnKrjvLYVhig8nmllAdYLbEoyI7OogyXChXHF iXi7alIZFaPdHkHWOpTcLiknBeG/Znt7kon2h5sbi6bCqpuUaUKmeSwmaBQIuavgSRSq ZhnSwZj8ngtKbzHr/r/1IOeOiVSOgkGBT7x2IH1GVR4Re7oLW1hhouoTg/i9FioBkG8G GptQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-mmc-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33si4553082plk.96.2017.05.18.02.30.18; Thu, 18 May 2017 02:30:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754827AbdERJaD (ORCPT <rfc822;georgi.djakov@linaro.org> + 6 others); 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 <rfc822; linux-mmc@vger.kernel.org>); Thu, 18 May 2017 05:30:01 -0400 Received: by mail-wr0-f173.google.com with SMTP id w50so29178990wrc.0 for <linux-mmc@vger.kernel.org>; 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 <linus.walleij@linaro.org> To: linux-mmc@vger.kernel.org, Ulf Hansson <ulf.hansson@linaro.org>, Adrian Hunter <adrian.hunter@intel.com> Cc: linux-block@vger.kernel.org, Jens Axboe <axboe@kernel.dk>, Christoph Hellwig <hch@lst.de>, Arnd Bergmann <arnd@arndb.de>, Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>, Paolo Valente <paolo.valente@linaro.org>, Linus Walleij <linus.walleij@linaro.org> 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: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org |
Series |
[1/6,v2] mmc: core: Delete bounce buffer Kconfig option
|
expand
|
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)
The variable is_rpmb is clearly a bool and even assigned true and false, yet declared as an int. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- ChangeLog v1->v2: - No changes, just resending --- drivers/mmc/core/block.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html