Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4466863ioa; Wed, 27 Apr 2022 04:37:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvYFlphNzBlP1FIrCptMhaVtWM6VsBShmYmAAJdBnvvIuYExIW/GVQwfirvUhw1adGmFv1 X-Received: by 2002:a17:902:ea0d:b0:15c:eceb:de38 with SMTP id s13-20020a170902ea0d00b0015cecebde38mr20637159plg.37.1651059476391; Wed, 27 Apr 2022 04:37:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651059476; cv=none; d=google.com; s=arc-20160816; b=wEHrgTRH/g4IGHo5311LM6gQh6p1/D+PLTF/fsP10rGIPiqJsJmuZMpc48KGyK/HYl 9llZvhzRoo9RMbKqW+LCTgbdrx99iigS3XmO4dLPJBHTkg1QNX/Y/16AiAyZHeB/umbd WqG1SKOQZYtFrabCxt3Hf9zMNKmtQpWmdr+lrirx/BIjFIF4xuNY5Ilrbc38QRO9wiBp spsHHZqkUZqM+mzKVQm9ScXpWRmnGbEU7tjiXW9SgUvXAcmJq0u+/4ynobzIin9DKkmD 8Tial17DLsBYqqVBHybhjg9ytvgGXgdU4KHJo7p7hCwYviiukCoM82VjC1mHyZ7ZsBw6 ICIw== 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=cQXDOLiZGtSeJzVO6P/jMJlSvkrRE1rH/5AUVQEoknA=; b=ehd2T0xuHglNL1fvoYNcN7DVAK4nPpwJuMqsotVGa3OD4KPfgmuLZLXjC+9bBgUxoA FD1wUGYzW6+dAyTDZT/sDsme4tl0n7Fy3Mscs44gT72Lff2dtsjLaEGEZmMEYGMM9fMX IrP2ZTboxz4yHFbnOm3gTkNPoLqGK2Wlcecdt2xEVs+eZAMwrCELowEGUpxd0IadRLLo y3bpQ2kPFiCDZ0wv/EJauXkgjvw1/b2Eg2H/4JCjHB/nyfpk/tMKE6ymyccB4d8u+Tm+ TPc+9jNJ11VXY36fvXbf/t8tQRoG0foNfxd2IC58QCWjKE1EQy+LajR8eT6H/Zy4bP2s JkHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B5aL0i2+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id f8-20020a170902ce8800b0015872dc578csi1419531plg.311.2022.04.27.04.37.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 04:37:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=B5aL0i2+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7E0954A2D59; Wed, 27 Apr 2022 03:27:54 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229976AbiD0Jp6 (ORCPT + 99 others); Wed, 27 Apr 2022 05:45:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbiD0Jpt (ORCPT ); Wed, 27 Apr 2022 05:45:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4F0B3808EE; Wed, 27 Apr 2022 02:42:24 -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 ams.source.kernel.org (Postfix) with ESMTPS id 530BAB825CA; Wed, 27 Apr 2022 09:37:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3EC4C385A9; Wed, 27 Apr 2022 09:37:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1651052272; bh=qzyHzucfdjJHdS7Al49wqCBqj8KjWdFYjhXKJTQsUX4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B5aL0i2+qF8+AIrqk2twZ40K34FmY3tt3gGR6gXq2EnyxJjkVxlFPkLbFUhaShKCA F9PqWYapcCOPaHWMPjnGKn8x81eycW5cyHQ9dYvo3wPtvQWnpN94J0+FfW3uvnWAeL cSaF/4xyjd8qOYs4FrIAfNoAToiDPyPl4EcqQ8qo= Date: Wed, 27 Apr 2022 11:37:48 +0200 From: Greg Kroah-Hartman To: Jung Daehwan Cc: Mathias Nyman , "open list:USB XHCI DRIVER" , open list , Howard Yen , Jack Pham , Puma Hsu , "J . Avila" , sc.suh@samsung.com, Krzysztof Kozlowski Subject: Re: [PATCH v4 5/5] usb: host: add xhci-exynos driver Message-ID: References: <1650964728-175347-1-git-send-email-dh10.jung@samsung.com> <1650964728-175347-6-git-send-email-dh10.jung@samsung.com> <20220427092426.GD145620@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220427092426.GD145620@ubuntu> X-Spam-Status: No, score=-2.5 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 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 Wed, Apr 27, 2022 at 06:24:26PM +0900, Jung Daehwan wrote: > On Tue, Apr 26, 2022 at 12:21:40PM +0200, Greg Kroah-Hartman wrote: > > On Tue, Apr 26, 2022 at 06:18:48PM +0900, Daehwan Jung wrote: > > > +int xhci_check_trb_in_td_math(struct xhci_hcd *xhci); > > > +void xhci_segment_free(struct xhci_hcd *xhci, struct xhci_segment *seg); > > > +void xhci_link_segments(struct xhci_segment *prev, > > > + struct xhci_segment *next, > > > + enum xhci_ring_type type, bool chain_links); > > > +void xhci_initialize_ring_info(struct xhci_ring *ring, > > > + unsigned int cycle_state); > > > +void xhci_remove_stream_mapping(struct xhci_ring *ring); > > > > Why does your single driver have global functions? That should not be > > needed, right? > > > > And these are odd for a driver's namespace... > > > > Those are exported in 1st patches. it's not good to include here as you said. If you export a function, you also have to add it to a .h file somewhere, otherwise it really is not exported. thanks, greg k-h