From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3546C433B4 for ; Fri, 30 Apr 2021 07:29:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 733DF61434 for ; Fri, 30 Apr 2021 07:29:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229780AbhD3HaH (ORCPT ); Fri, 30 Apr 2021 03:30:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:45488 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbhD3HaG (ORCPT ); Fri, 30 Apr 2021 03:30:06 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0B005613B3; Fri, 30 Apr 2021 07:29:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619767757; bh=UOwbjp9n6THAwLNXnYFCjvVARM6laoU+YRJMD42KQK4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gU4BEDg0/+ToTZ2RLKPtxpLCkg1nhxGnQ8RspU3df5YPn62XPsoMgFcKABoGFTnx7 YUIfcIP6MgesZP9FsgkR7YT08dqiAwb8Cv2LhNv2B1USKPFknp/7VsE5Sy+yKcDRVx QJFIR5QVt7Lu3Aa5x8NalJDFND8ufOJeLUfFHgdk= Date: Fri, 30 Apr 2021 09:29:15 +0200 From: Greg Kroah-Hartman To: Chunfeng Yun Cc: Mathias Nyman , Matthias Brugger , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Ikjoon Jang , Eddie Hung Subject: Re: [PATCH 1/3] usb: xhci-mtk: use bitfield instead of bool Message-ID: References: <20210430071532.51794-1-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210430071532.51794-1-chunfeng.yun@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Fri, Apr 30, 2021 at 03:15:30PM +0800, Chunfeng Yun wrote: > Use bitfield instead of bool in struct That says what you did, but not why you did it. Why? > > Signed-off-by: Chunfeng Yun > --- > drivers/usb/host/xhci-mtk.c | 2 -- > drivers/usb/host/xhci-mtk.h | 8 ++++---- > 2 files changed, 4 insertions(+), 6 deletions(-) > > diff --git a/drivers/usb/host/xhci-mtk.c b/drivers/usb/host/xhci-mtk.c > index b2058b3bc834..2548976bcf05 100644 > --- a/drivers/usb/host/xhci-mtk.c > +++ b/drivers/usb/host/xhci-mtk.c > @@ -495,8 +495,6 @@ static int xhci_mtk_probe(struct platform_device *pdev) > goto put_usb2_hcd; > } > mtk->has_ippc = true; > - } else { > - mtk->has_ippc = false; Why did you remove this chunk? That is not described in the changelog at all. thanks, greg k-h