Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1719188ybz; Sun, 26 Apr 2020 02:46:53 -0700 (PDT) X-Google-Smtp-Source: APiQypLH7oVHVo6gaLaBnv8D5xrEJYzAQVTY4qX7kJHXNLe405r6cxXflH27DOUVJr7eYaqCw9RD X-Received: by 2002:a17:907:1199:: with SMTP id uz25mr14562742ejb.131.1587894413182; Sun, 26 Apr 2020 02:46:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587894413; cv=none; d=google.com; s=arc-20160816; b=AEKcSL/CsXarC3Tegw+Lk2xHCikzB3WPggmBN8ztLre7vuetNSmxRJMh+Tw8FQOJOo bdddilntfo8Jlpnup/3KtIiQRdY69JkWA5PvWYuL+kmLFrvmOnJNrUEeasYfToemF3g5 5CNVkO+mwcb93YNb9TSje8dAq7ukAMevLtx+fg6ltpld/OwbiOakPvJ8joLbyoVwYF5D xlJwT0llrwJ6y+cWv6NRhKYRSBIWX6fNoiDZ9wCb+ervhOQI7eKiWlrTp/69AoWOsUcW 4rU2jlv9TDNyzluTFwbwnGgX+g/0/FaxvFt+z7UI6uFygSGHAbetfZSiyQTjYru9o7y4 NAuQ== 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=iXN4Da5zICKz+1PTvZBM/rWD6mtMOD8z8gjSKUvrgzE=; b=fP+5u8PRleIDx1GviSK2WkfcBojUFv440djwOnRM6S0KQY3ibhhaxQo/NRF/diogSx buqDuLuLIw8h0U+UqRLmgdd1ypVtDI2XxKJrjtj1UJT5H4rwuweGKCSFGCJsBh76M/rS C3N6zYoP7SPoOhiSxdhZtHW08PQVXqJVF4V2V2roKUNse1vy2fi1tyrxLjHqAXYY84wE RGRW1Cwda12I2z96vgRhbC2/VyvnBNkRapnxunERcWRTerAvjH+/UefW55f8g6wWYIoz R3V7n+p5sf/HSqwLQqNkCue/Pf18Ufpuv3m6lsYa2s7aZjc8WpCpZf7ORFEpzQ4Y1fLl ZIqw== 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 g14si6311876eje.287.2020.04.26.02.46.30; Sun, 26 Apr 2020 02:46:53 -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 S1726419AbgDZJmN (ORCPT + 99 others); Sun, 26 Apr 2020 05:42:13 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:40064 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726143AbgDZJmN (ORCPT ); Sun, 26 Apr 2020 05:42:13 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id A628BF011B69DD75195C; Sun, 26 Apr 2020 17:42:11 +0800 (CST) Received: from huawei.com (10.175.124.28) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Sun, 26 Apr 2020 17:42:04 +0800 From: Jason Yan To: , , , , CC: Jason Yan Subject: [PATCH] usb: musb: use true for 'use_dma' Date: Sun, 26 Apr 2020 17:41:30 +0800 Message-ID: <20200426094130.23384-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/musb/musb_core.c:1798:12-19: WARNING: Assignment of 0/1 to bool variable Signed-off-by: Jason Yan --- drivers/usb/musb/musb_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index d590110539ab..a0eba889ec61 100644 --- a/drivers/usb/musb/musb_core.c +++ b/drivers/usb/musb/musb_core.c @@ -1795,7 +1795,7 @@ irqreturn_t musb_interrupt(struct musb *musb) EXPORT_SYMBOL_GPL(musb_interrupt); #ifndef CONFIG_MUSB_PIO_ONLY -static bool use_dma = 1; +static bool use_dma = true; /* "modprobe ... use_dma=0" etc */ module_param(use_dma, bool, 0644); -- 2.21.1