Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2335007pxp; Fri, 18 Mar 2022 08:25:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFhbhjpHrB0OWRAzMSMiWVBg2Du9khYiuPoq4wLcnk2M56Ym4OHMqLWZhk75+1Mvp8lSkw X-Received: by 2002:a17:90a:9502:b0:1bf:f7f0:816a with SMTP id t2-20020a17090a950200b001bff7f0816amr22183062pjo.228.1647617121689; Fri, 18 Mar 2022 08:25:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647617121; cv=none; d=google.com; s=arc-20160816; b=kcY7O0qgPJosqwrOZI6ya4kviWgz1uPQJRY8Nhd3CmB/n+9Vv77OhkGPrhEGlvnAd4 6PjpRfczqUb/HnqSxg+D+8vooBL7wnJSd5hp2/80v+4gHBsovaAQ9IlKSHG2K4cF2kqt ahCm3jBdP1KTVsSQmFxQnB1GrlUF6eQ7+RBzr/V+qvJZKZn/ORnACCXfaSGGZHhMLRq1 MCc4946KoOmhsfU796Am0M+hEErm8OcJWm/zp3WX1I98DY6+7sE3b2+lS7zM9/ZLnj4a /foqxAyeXdKx0iboo6NK1ZpikIAtb0avVjKsyWmo5nQLVs3koa4J8kIsYAwso+8KOF5B KL1g== 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=3jrXGomya45Ae/J+hNiFSU2T4oQGlOuLmQjSn2KADgc=; b=yted6NYBDit26cVJ5Oo/7x6AZdZiN8GzZBK3UPU2X+K2EIzfQpiN+JPqgWojgkMGW3 fsbUaUOWHmwLvRquz+eNuCZkyg3MiknyfNlU0wum6pCcC0+6expCWAUe0GfZdKMRugee CJJqz5/Xd7PRjD9GVCnk+VdRdDSoiHQv5KDHSEfxQ1f2DL60ezB1WXxtUvh/HE+5e0np I/h2k3JZX2zfdgwmuWNzcdJpi3zx3+kXFLHnV4NWUnl2dWD5v6C/SeN8WRE19p/AvMR7 0JK+ifCVDyB23t25hl5FmBn+NdZILxCt9w3ikWG0n/BixKysv3u2IZHZppxUS2e/2orf 6DWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IR8aeS46; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a056a00114400b004f7b182f085si8907518pfm.73.2022.03.18.08.25.00; Fri, 18 Mar 2022 08:25:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=IR8aeS46; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236144AbiCRMUT (ORCPT + 99 others); Fri, 18 Mar 2022 08:20:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236198AbiCRMUP (ORCPT ); Fri, 18 Mar 2022 08:20:15 -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 2C91B2E1A9D; Fri, 18 Mar 2022 05:18:56 -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 BFD356188D; Fri, 18 Mar 2022 12:18:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73E54C340E8; Fri, 18 Mar 2022 12:18:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647605935; bh=C1Hrt3y8LhUH20tkjH6OEVg2ScebEqMD1BqUmzUmnfs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IR8aeS46dgm+RNzCB4GB4aOxjyKN/hBVsugUOXs81ZPxHyExHBGhhv9MwUP4X0YAz feQM8Mm4eWFCGpjeo8cYIK0K60r/WJvkY2xQgLjWjnz0pbBPvULsi3HlrbP4CcK7UI zuUGpMqmhe2WRuZ4nWeoMhemiyrWXnup+ncMUwVE= Date: Fri, 18 Mar 2022 13:01:04 +0100 From: Greg Kroah-Hartman To: Sandeep Maheswaram 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: <1646130507-26796-3-git-send-email-quic_c_sanm@quicinc.com> X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Tue, Mar 01, 2022 at 03:58:26PM +0530, Sandeep Maheswaram wrote: > Remove the header file and forward declare struct usb_hcd. Why? > > 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