Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2273959pxp; Mon, 21 Mar 2022 15:34:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDF3J5gYnAMN+Wy84u/xexGkZgXg1vftMgJg2ggJAiIGQwhMJJgAMx7AVY4W+jTdBfn8yb X-Received: by 2002:a17:90a:a78f:b0:1bc:8042:9330 with SMTP id f15-20020a17090aa78f00b001bc80429330mr1414434pjq.229.1647902089560; Mon, 21 Mar 2022 15:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647902089; cv=none; d=google.com; s=arc-20160816; b=S2d6L+FCEfDESEVhm/jXLlSEucBUnh7DG3316G/sB2C9d789+4d9wfs2yIHWfmH3Is ZK3tf9/8V+U61Wyw9t2C9mI6I6QMf5S3KBQJJ5SgSTh9wekwxNl63TC1651abT30FB+K U3bLGPt2VWjaWHQs2kcrem/czkiBKrCnbGHx409d85AwAeU4mYJJ6W8rGCPGabOIOrU2 IRnZuXTBwerF/wwkehzXSJHDHUQlzX0zyVEF1Ce7w+c1M5QbEbmoFyTyEpswbhnQ4/5H tKG0IE/uH+lWgdmmP9eMV2uJ+q6XA/GlfwuO/TUUtjZVL04rZdc+GaOGz2D8EhZFlKvv PT9w== 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=LRH49HSierkXpkIZXV7Sg6IoMydd9Em8cuZ47jiwnYg=; b=lpgDw3kEqgCUUYIBjCVfG8XXKi/TiPFJfw3F26DgocUViVuhUtgw3zLzWG1+c0U4cY 8oNcOv/CN1n4ep3qgMlyuFzikaidUyPsaiPHSkYyXzmNDTdp3eKlLQEZXWJ9tEk1eRNX XGUie8UNd0JihbRaaW7oqij3jaK2b8aJ209VPYHfbBBBBQNxxBMpudm6dCUOeTC4oSAp ZoJ1Zn9bvEZd29wUZZvtQFhXqRC33InARAKWCdqU7Zt5jqXcrZHmNL3BP9RCBLi5eDJj Ds6h2zZSb0GkBfrfj6m7U+fcX9Mr2rErfVWYqmwiDMu8rnssYRwrtI0MlS/raGevdyRf KI+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="az+y/cew"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id l18-20020a63ea52000000b003827526f8bbsi5462947pgk.526.2022.03.21.15.34.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:34:49 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="az+y/cew"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BDBDF3B08A5; Mon, 21 Mar 2022 14:47:46 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345845AbiCUJfp (ORCPT + 99 others); Mon, 21 Mar 2022 05:35:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239083AbiCUJfo (ORCPT ); Mon, 21 Mar 2022 05:35:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A17EC5D1A3; Mon, 21 Mar 2022 02:34:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4480B61257; Mon, 21 Mar 2022 09:34:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BD68C340E8; Mon, 21 Mar 2022 09:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647855258; bh=KAy+HX7RT4vropER51g7vnunFx9E0IYtS6S7s/kOnVo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=az+y/cewf7KdP2kFF8wkWZlGQo6+2T0eMChPcWVGvVoP+lO8Yj59G2Yd/icvGqv39 aF55PvwTgY4UbH4mLJ/RQZwnFdT1tjW5COWkzOn+M6kOmTwVGZVRMToe5McDTInUCb tVUEmR4Tt5g3BnBbyT1VpGTdCW1U4bLfuETqjQSI= Date: Mon, 21 Mar 2022 10:34:16 +0100 From: Greg Kroah-Hartman To: "Sandeep Maheswaram (Temp)" Cc: Felipe Balbi , Stephen Boyd , Doug Anderson , Matthias Kaehlcke , Mathias Nyman , Pawel Laszczak , Peter Chen , Roger Quadros , Aswath Govindraju , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, quic_pkondeti@quicinc.com, quic_ppratap@quicinc.com Subject: Re: [PATCH v2 2/3] usb: xhci: Remove unwanted header inclusion Message-ID: References: <1646130507-26796-1-git-send-email-quic_c_sanm@quicinc.com> <1646130507-26796-3-git-send-email-quic_c_sanm@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 21, 2022 at 02:47:08PM +0530, Sandeep Maheswaram (Temp) wrote: > Hi Greg, > > On 3/18/2022 5:31 PM, Greg Kroah-Hartman wrote: > > On Tue, Mar 01, 2022 at 03:58:26PM +0530, Sandeep Maheswaram wrote: > > > Remove the header file and forward declare struct usb_hcd. > > Why? > > This was done to address below comment in previous version > > https://patchwork.kernel.org/project/linux-arm-msm/patch/1644949454-814-2-git-send-email-quic_c_sanm@quicinc.com/#24739885 Then EXPLAIN THAT in the changelog text. Don't make us guess. Please read the kernel documentation for how to write a good changelog text. This single sentance does not follow the guidelines at all. > > > > > > > Signed-off-by: Sandeep Maheswaram > > > --- > > > include/linux/usb/xhci-plat.h | 3 ++- > > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > > > diff --git a/include/linux/usb/xhci-plat.h b/include/linux/usb/xhci-plat.h > > > index 906e907..576e400 100644 > > > --- a/include/linux/usb/xhci-plat.h > > > +++ b/include/linux/usb/xhci-plat.h > > > @@ -9,7 +9,8 @@ > > > #define _XHCI_PLAT_H > > > #include > > > -#include > > > + > > > +struct usb_hcd; > > > struct xhci_plat_priv { > > > const char *firmware_name; > > > -- > > > 2.7.4 > > > > > Where did this come from? Is this fixing a build breakage from a > > previous patch? If not, why is this needed? > > > > confused, > > > > greg k-h > > There wasn't any build breakage. > > This was done to address below comment in previous version > > https://patchwork.kernel.org/project/linux-arm-msm/patch/1644949454-814-2-git-send-email-quic_c_sanm@quicinc.com/#24739885 Again, how were we supposed to know any of this? Please read the documentation again for how to do this properly. thanks, greg k-h