Message ID | 20170510082418.10513-4-linus.walleij@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp105592qge; Wed, 10 May 2017 01:25:10 -0700 (PDT) X-Received: by 10.84.143.195 with SMTP id 61mr6386214plz.158.1494404710102; Wed, 10 May 2017 01:25:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1494404710; cv=none; d=google.com; s=arc-20160816; b=Wvbahu5xtsJ9sEtIBBeqiXBZXfvAr0Za/SxIifZCGY3OurGLlHIHnPAKOfJseJPfDh WIMM3T7n7yDMrA8aWq63JQNyDME7GJqPTzRL14OVRTqriBOcqmN4Jqpl/anZjrcJQDnK QQOqF0BF5dMil34c7GUWOi2HEBp8mgJRghR97M0rcuBRI5jLm+lQUhUxfoSY9jspQnA0 MIC1IrmyCm8i8I9Hcj4ILbJz+8Wp1x6Mz04ike326H9vxVQfds4XZXI0gwmFOBRn8CtV +uu5H7QHzMQYC5wjYgxEb4md+twgvz8+upAwKZ/6k4ESvdpxHl3DNMqYfuyVU1NbHnv/ jQMQ== 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=Gd72MKrXzmiu9iU0wuTswZ2ag5CoBVqPsg4dcArbf04=; b=Jn0vWr6adKEWVuRo3sNLRwvZiQ9YC6Jyd9mCqJibkiciIzOXnsrPUjuit9Hd743W0J Idevf/0TjJLYyYAstdKCtR5F2pHDseF+ZxboBtiLI57Rj/Dl3Sqfzx4bDEUL4GoY2xkJ PMKryqSV+ZkFBSUcbM95cn1UwWnspByLA97f6yF5Pc5HZGYtTZtyDfc2Kzof7VXMLPmj syCPDbe/nGvGoTy98M9qfbUtHEBf2lo2SdDinRWFm0DAFUVTmLHwcUfCCzPkiGZOtH1v +FwUD29OIKdy0YO6s4sZNT65wXEZmQ3QfJOywcdhOrdH4SPgmtAQE3/uo3BrW033Ols0 CfWg== 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 f132si2315878pgc.250.2017.05.10.01.25.09; Wed, 10 May 2017 01:25:10 -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 S1752615AbdEJIZH (ORCPT <rfc822;georgi.djakov@linaro.org> + 6 others); 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 <rfc822; linux-mmc@vger.kernel.org>); Wed, 10 May 2017 04:25:05 -0400 Received: by mail-qt0-f170.google.com with SMTP id m91so20258525qte.3 for <linux-mmc@vger.kernel.org>; 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 <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/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: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org |
Series |
mmc: core: modernize ioctl() requests
|
expand
|
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)
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> --- 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