From patchwork Thu Aug 13 06:25:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 11711757 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B632113B1 for ; Thu, 13 Aug 2020 06:25:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9593D2080C for ; Thu, 13 Aug 2020 06:25:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597299951; bh=aUkQhSpnz0EAP2TMP52WAGt/FB1bys0KsQpqMX4ZYEc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=VHbnOLleU6CuhvK7wMcs21KwH6GWYf8sqIFXSV9VvhzNVRzrAjj43d1+j811MI7sx ORYUwyiuEpHshFU6xnqtqN14MnhiARqMwdzPo4l5P9eJaym9Cr/jKXdtZ/GWcn5RAK zxxWwkRiPpIR5QbHBP3/ifJPcYQhPMa1ouO03kGc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726292AbgHMGZu (ORCPT ); Thu, 13 Aug 2020 02:25:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:38170 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726204AbgHMGZt (ORCPT ); Thu, 13 Aug 2020 02:25:49 -0400 Received: from saruman.elisa-laajakaista.fi (unknown [194.34.132.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 765002078B; Thu, 13 Aug 2020 06:25:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597299949; bh=aUkQhSpnz0EAP2TMP52WAGt/FB1bys0KsQpqMX4ZYEc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PEQcJ2olTquq2JY5moDfi2G3cztapOrJUB4QgBDyAy2tfCaTU8QxBHrr9q97ErQZ+ pewWSOR07sAjx6Dx0yumoS5wFOqhGiah57rw4jD/N4WHH7Yxw5wDPOOUu+2MriqrPQ zelloZVbrxZ0pQRU4OwOU5JIH06SFHLfJL4xJRC0= From: balbi@kernel.org To: Linux USB Cc: Felipe Balbi Subject: [PATCH 09/11] dwc3: ep0: fix checkpatch warnings Date: Thu, 13 Aug 2020 09:25:30 +0300 Message-Id: <20200813062532.829720-9-balbi@kernel.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200813062532.829720-1-balbi@kernel.org> References: <20200813062532.829720-1-balbi@kernel.org> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Felipe Balbi no functional changes Signed-off-by: Felipe Balbi --- drivers/usb/dwc3/ep0.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/ep0.c b/drivers/usb/dwc3/ep0.c index 59f2e8c31bd1..5bb4327ae237 100644 --- a/drivers/usb/dwc3/ep0.c +++ b/drivers/usb/dwc3/ep0.c @@ -105,7 +105,7 @@ static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep, * IRQ we were waiting for is long gone. */ if (dep->flags & DWC3_EP_PENDING_REQUEST) { - unsigned direction; + unsigned int direction; direction = !!(dep->flags & DWC3_EP0_DIR_IN); @@ -127,7 +127,7 @@ static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep, * handle it here. */ if (dwc->delayed_status) { - unsigned direction; + unsigned int direction; direction = !dwc->ep0_expect_in; dwc->delayed_status = false; @@ -172,7 +172,7 @@ static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep, * XferNotReady(STATUS). */ if (dwc->three_stage_setup) { - unsigned direction; + unsigned int direction; direction = dwc->ep0_expect_in; dwc->ep0state = EP0_DATA_PHASE;