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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D949BC433EF for ; Tue, 26 Apr 2022 10:35:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349219AbiDZKiE (ORCPT ); Tue, 26 Apr 2022 06:38:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349210AbiDZKh1 (ORCPT ); Tue, 26 Apr 2022 06:37:27 -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 9242B626F; Tue, 26 Apr 2022 03:21:44 -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 2CBA2615CF; Tue, 26 Apr 2022 10:21:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 19E2BC385A0; Tue, 26 Apr 2022 10:21:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650968503; bh=KUUK6iT7bOMV0phgkRt5MLlicyQlmJrOnAGbU2zHWtM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ZSnrGhImsoG4wKFKYyTBS2DRFndoo3/cCxgFlW7JzxYrjCnQJKFuPKn8CpcPvOmep 0ghcrkJT5LDWtQ9FVu3xSQQ6Q8P31KKrQj4UF+Iyq3N6ZLXW+uutspcwYe8bkXJrva Jd4ss0EfsKCPPtXKfQsnJrazsXugBBECakpj63qs= Date: Tue, 26 Apr 2022 12:21:40 +0200 From: Greg Kroah-Hartman To: Daehwan Jung 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1650964728-175347-6-git-send-email-dh10.jung@samsung.com> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org 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... thanks, greg k-h