Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp1126016pxy; Thu, 6 May 2021 00:39:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwI1/+ezw9qsWmEu+2l3Q8kr3kYGtIq4umNScJsO6b0iuzKYD7tkSUkpCf+YtSZdMysJ5gH X-Received: by 2002:aa7:d658:: with SMTP id v24mr3437045edr.290.1620286757918; Thu, 06 May 2021 00:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620286757; cv=none; d=google.com; s=arc-20160816; b=x1xTvz1FI15Th7T/b0o7NYkpGzqEP60G0hkILeRqIObrGpnFsCycZJzmQU2K9W/WMp vjtlau3mnKLTcYZr0bfk2pcT+y3lcFAlqQBio2q4rwvZRzQqV90qbr8ZMhPrFVk99c93 X2hoO8AbiwQmSe9m5NSLe/8+KivaH+5ya3Xbil/JX52Dvs8t+TjKGU/CFxg94cFXwyP2 g8D3gk9rAqcmVTpHpOqURhJHKiveaq+02MeGexUutjzEgnIvQ1v5doLg6YoQ79Ab2a2W HB0HpqLFhpc9grHElmLa1C1PuUb5o84T5+rfA/xRgdZTBgpoiFEGEzTUAQX7boEsA8kV aWFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=kwurnpUfxFvLUEjc/qTrwjzWN9ujn5IDTO4bXh+oqEk=; b=EAixEMrE89yQS6b/JOh/pRAXFx/FL0qojep21TB1iHMeQ0ttgbbJwJ7rdf6HTrT5E2 fryfOK+DXbnHCMmLxBcw6Pp5fHzCmRQQ0cN0UYqtPSuVwL+n7xAP9OjyQ2p+E7D8kmrG YWHr1POqklwVcJWznvFPxYARVkQYyMLinD3nMyzOS2/IGS4zQRiTbfkZ7Eo8yYa4hn+3 MHoWTI1pVXWaHOreD4gLfiS6XT6/0ktbXL9egNIP3YpBhPWpJcgjK4AcIHyebApNtfsp ucxibfVsijAmaOJyJ0ajnuv4gHApddfHxJ+g5un6PXzW3onmlkgE2E4EmbPxba7RYNXh 9HGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qqYakRsy; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh19si1574585ejb.312.2021.05.06.00.38.52; Thu, 06 May 2021 00:39:17 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qqYakRsy; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233389AbhEFHiQ (ORCPT + 99 others); Thu, 6 May 2021 03:38:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:57840 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233281AbhEFHiP (ORCPT ); Thu, 6 May 2021 03:38:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3B981611CB; Thu, 6 May 2021 07:37:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620286637; bh=iXe3DLUvgiP5Cycf6dDSuZIym/h/K9iMDajCibIIC1o=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qqYakRsyddaITLilOvv5y0/bv03pi4+7eoLXGgnKAPgFbtwYGecSdJgXFUwI1RFpS 4qdBvj+jbXeQe9ihX1Pt15i6iEy94ML7knOu59h2WzqtcVinvtZ/72LEraJmO15s5x u/Zn54eu9N/CZMPgN7tz7p7TP1RtYPiIdKXmEc3M= Date: Thu, 6 May 2021 09:37: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 v2 1/3] usb: xhci-mtk: use bitfield instead of bool Message-ID: References: <20210506063116.41757-1-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210506063116.41757-1-chunfeng.yun@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 06, 2021 at 02:31:14PM +0800, Chunfeng Yun wrote: > Use bitfield instead of bool in struct > > Refer to coding-style.rst 17) Using bool: > "If a structure has many true/false values, consider consolidating > them into a bitfield with 1 bit members, or using an appropriate > fixed width type, such as u8." > > Due to @has_ippc's default vaule is 0, no need set it again if fail > to get ippc base address Please split this change out into a separate patch, as it has nothing to do with the "change to bitfield" change. thanks, greg k-h