Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1718477ybz; Sun, 26 Apr 2020 02:45:56 -0700 (PDT) X-Google-Smtp-Source: APiQypKA+in/KnaNNc2GcPyvSyd5d/A/Fve7obIUsT0SoAGYmOAviSUBDUVZ/VmOzbyDnAIwca4R X-Received: by 2002:a17:906:18a2:: with SMTP id c2mr7377605ejf.167.1587894355894; Sun, 26 Apr 2020 02:45:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587894355; cv=none; d=google.com; s=arc-20160816; b=ItLFUbttpeIzcUpr1jqE6HvNTaZ6mbNwJ4JKomMZZOC31Wk9K47lgIYrYUIeWjuiA/ X8SELXMeFkhPubOCmUi8b768NBkjg+32hRKvKkLWHd6mGgoEJKXKHBgZfok3rKO6yxxB KOjfRLVa/F7yn6yLE7wQuLNHvNnz1qfD2a2KcyH8Zpy80viE5w3yhWJjbsfTt5QrA7zQ t65PN2n442YZhhEqlHCeJogKARbvNmWtr5MbKAhWJj5tkrtMihYukIw/+z0igAeMSW13 /CNpsDmbEz3Sv1fftkkGNKvRDXHBUCaoYKghd2QL08bO2d2OtVCS7DUIPcEFf7p5b+WO hENQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=XfM1L61d3Z2DVDG86mzSaI+yTvwxAm1g+7qaJ0z3nSE=; b=Y+8t66uYPOB77bcmo0irdfFm/Rd1zFRz4sACMldc7d8BTGQt1qe5alccw+GdQKOWuU sPuvCtsqZvD7BkhGnt6QelAsvkdQ1b4y1uPCStcSpNmgwAkod7CXo2jSyAJHS+XRu0mb yiC/hnFqGyF2eAX/2G8aT6chn69BotarjpWcKp4nCx9HyElVRv5m3XxyHpy6GStVeqd2 tiIzFsADldtLi/3yHqT9W9iJhkdu6sDyDAZoO0yAeYHApGgDM6dex9DHE/VhqOtXcsSi oYoXdCQ8XijTlbWnILzV5AhRcop8Wefb21nXSnykg7UE+zD6d+ihgCVzxlOsPSsrqzxA 0swQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p25si6287111eji.408.2020.04.26.02.45.33; Sun, 26 Apr 2020 02:45:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726482AbgDZJmw (ORCPT + 99 others); Sun, 26 Apr 2020 05:42:52 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:40680 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726143AbgDZJmw (ORCPT ); Sun, 26 Apr 2020 05:42:52 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id CB00E6D87C1D3760D4C9; Sun, 26 Apr 2020 17:42:50 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.487.0; Sun, 26 Apr 2020 17:42:43 +0800 From: Jason Yan To: , , , CC: Jason Yan Subject: [PATCH] usb: gadget: net2272: use false for 'use_dma' Date: Sun, 26 Apr 2020 17:42:10 +0800 Message-ID: <20200426094210.23664-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.21.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.124.28] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following coccicheck warning: drivers/usb/gadget/udc/net2272.c:57:12-19: WARNING: Assignment of 0/1 to bool variable Signed-off-by: Jason Yan --- drivers/usb/gadget/udc/net2272.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/net2272.c b/drivers/usb/gadget/udc/net2272.c index a8273b589456..babc9c6ff0c3 100644 --- a/drivers/usb/gadget/udc/net2272.c +++ b/drivers/usb/gadget/udc/net2272.c @@ -54,7 +54,7 @@ static const char * const ep_name[] = { * * If use_dma is disabled, pio will be used instead. */ -static bool use_dma = 0; +static bool use_dma = false; module_param(use_dma, bool, 0644); /* -- 2.21.1