From nobody Wed Jun 12 16:41:20 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VzrsF12Yxz5N3B2; Wed, 12 Jun 2024 16:41:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VzrsD650qz4ghf; Wed, 12 Jun 2024 16:41:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718210480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=J4efHithKnGao3p3rkW9BJhuANO2HPdUCB1rFd38sM0=; b=dqrgVauZlYsgZXTzluyO35Xh9Y8GFHBqAlZe4PEVAKCw2BtasCY9ESZh2Ni93/NUTkazdr a7ghfLAipsvp64IrO5LUEDoS7BD4oqtxX15EVSVKeKfDGmDib3gL3MrdB2xJCWm6IF23Ok HZ9v3KHrc7EyFv/Esn6Iuu0nVIUTYKar1swIifBFYwIZK6UV5vr+G8V89pkZKVhFNc/Y79 tIHofoQHfXLteCSy3xKxYPY47EZsUY7+AMsV9yK1omMP1FPft4R6kHEr6pt/ni9K5CSSvi EtAGO7SdjZ/QVj7SExgAy633A90EFV1XGOxBFm7nrK5vETXfZyPCrc83DHVJuQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718210480; a=rsa-sha256; cv=none; b=KerGEcQiFTfTrknT7BFoiBlk99O/htVLS8vzqzVRR402qN1mL++bE3P/qigvJG+m/PgfJp LlGCeQeihWYBmHWR3JA8PiUrGjHr3R4g93/JwpFBA36OURvj1SgHukTsG4JQvTYv+rNox3 F+el5fsqQsG/R4xvdq6XVSOZsQ/qTcWmrmdpvE7Lw3qnbuX80LWAk1hMKI617Ee7UtdqCn gqW1dx8tholf7b4EdneoVySHp7LtbKawfycJSFhEIyg1RwgXQxFCElGEKcjRE4CY1xonTB 3NUpre8tzZNxiNjiahAiWMR8RjDUi2GGNw9Q8znS2ee1DLvYLOsAUyGjsgA2/w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718210480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=J4efHithKnGao3p3rkW9BJhuANO2HPdUCB1rFd38sM0=; b=sl2EsuHpt0e4tvvqq4LtXtjTw5Op+L2oNYNyAWx4vBNNIWURG4LZwEOxotxEv/WJOPArSn 8sXvTNY2b4jFybjwyc5bBHOlaeBGoi3gPOSX5PWAXIEvjpPMgy0BGtbEoIxCA3yB9NdQZu 8i/QdvJ4JiGF5MP9ebIFiSSydVRoTM1hL9csPIsos83d+B1OTDxvUvlCgfDzAxAECgJ7V8 tTMIk3cd+LehheY/+qSGsrSW2uUD9ufgSt+zD4azni3LmsAnXJgv8i8p3ska7LV4tMMGH2 uK9c5ttsI4wfnEXO8Bxs33VKkV1H1dzrXi0XrnJAcARIQ5er8OpdwmHOcZhD3Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VzrsD5jQbz10Fk; Wed, 12 Jun 2024 16:41:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45CGfKHN046576; Wed, 12 Jun 2024 16:41:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45CGfKl1046573; Wed, 12 Jun 2024 16:41:20 GMT (envelope-from git) Date: Wed, 12 Jun 2024 16:41:20 GMT Message-Id: <202406121641.45CGfKl1046573@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 04131cf0765d - stable/14 - LinuxKPI: remove extern from function declarations List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 04131cf0765de5d3c3ae2f4bd1b49bb7db230c06 Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=04131cf0765de5d3c3ae2f4bd1b49bb7db230c06 commit 04131cf0765de5d3c3ae2f4bd1b49bb7db230c06 Author: Bjoern A. Zeeb AuthorDate: 2024-05-27 19:49:45 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-06-12 13:57:51 +0000 LinuxKPI: remove extern from function declarations Sponsored by: The FreeBSD Foundation Reviewed by: emaste (earlier version, found another two) Differential Revision: https://reviews.freebsd.org/D45386 (cherry picked from commit ecd1d1f1dac49c7ecbf1e7c5ffc64356c2851efd) --- sys/compat/linuxkpi/common/include/linux/gfp.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/compat/linuxkpi/common/include/linux/gfp.h b/sys/compat/linuxkpi/common/include/linux/gfp.h index 2fcc0dc05f29..e5dd2e44b0fa 100644 --- a/sys/compat/linuxkpi/common/include/linux/gfp.h +++ b/sys/compat/linuxkpi/common/include/linux/gfp.h @@ -90,15 +90,15 @@ struct page_frag_cache { * * NOTE: This function only works for pages allocated by the kernel. */ -extern void *linux_page_address(struct page *); +void *linux_page_address(struct page *); #define page_address(page) linux_page_address(page) /* * Page management for unmapped pages: */ -extern struct page *linux_alloc_pages(gfp_t flags, unsigned int order); -extern void linux_free_pages(struct page *page, unsigned int order); +struct page *linux_alloc_pages(gfp_t flags, unsigned int order); +void linux_free_pages(struct page *page, unsigned int order); void *linuxkpi_page_frag_alloc(struct page_frag_cache *, size_t, gfp_t); void linuxkpi_page_frag_free(void *); void linuxkpi__page_frag_cache_drain(struct page *, size_t); @@ -147,8 +147,8 @@ dev_alloc_pages(unsigned int order) /* * Page management for mapped pages: */ -extern vm_offset_t linux_alloc_kmem(gfp_t flags, unsigned int order); -extern void linux_free_kmem(vm_offset_t, unsigned int order); +vm_offset_t linux_alloc_kmem(gfp_t flags, unsigned int order); +void linux_free_kmem(vm_offset_t, unsigned int order); static inline vm_offset_t get_zeroed_page(gfp_t flags)