From nobody Sun Dec 24 08:23:19 2023 X-Original-To: dev-commits-src-main@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 4SyYvW3p49z54HQN; Sun, 24 Dec 2023 08:23:19 +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 4SyYvW2XCgz4Y9k; Sun, 24 Dec 2023 08:23:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703406199; 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=KIVg8O/UrmMToN38/dhngGeW/Zm1tnnH81T++PwQckY=; b=iSOjAEmc4YVy94W3Mcqn3v/m6+bWN8SYQ9MOJ+76hxvG3MOUecwE3nNSgZf1qQcqkVlyRy doo/hRszYkEFa4yTFJjV2BzMMNL0ODmyYQtW1IRjUpFYdtEdKUQodNZxEZ8FBRBlXSxjRs ggmGQikGKApRoOUtslypJQT4fBbMBtQpFIqmowb5iJRmi6pK5MLxDth8ivqnuncY/WMx7Q kTlS5bp0p+MqKGSRD71KEYL55ATmGy8sETwaO2y9vct0C5+m254HBent2aPaHFSv/VNKcr WUckVAEefeYfmJ8NWYucRaHjQlOplOR1a4+tATCbtwPNgRMDUZx7O0Yevrz2nA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703406199; a=rsa-sha256; cv=none; b=AJpd+EIXvNfUwrdENKd3VDmrA+0g5AlJMmfGkjiagSjMLZBO9g8kJfNJ10A9QOiERJjJyh UPgeoIx8Mi0y7B+yUY4w803bT8XJNNWj52eIJv4wpNDq8NZtiXH96s3diSiP1RewWk/eDi LnMrbTdWwYLTPt4sKeIA0XWpztI/kll831oEM2pt3fCiqWaHstrpdJId1UAnDdPAWUKo/v gu4hh7pBbW9JDpkXTTtHve3sGnH2sJun997EFkGmtWRsp8DYyBYEk+fCleMJVjU7fCsEEd virnYXSiHV7X9Sm38pTRe5rMP2IYys62g9lICcrqFPxX573FZEDGfmUPCG0Nwg== 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=1703406199; 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=KIVg8O/UrmMToN38/dhngGeW/Zm1tnnH81T++PwQckY=; b=afV3J1Y1X2uyHXLmVXCY1kwbZWSCqkUVkJzMGhsNAAgUsYy0WkzJZstfZjIGz1NxbpoiA/ QO6yPXu4gCsmkdGk8myOBqloset7uWaF26IRPStgE4xOY8qii+I0CLjLNTEwgkfkdSiTes qr5iRxjBAyJxOab1yz1oG7F+k4iKaWt0Fy3iLWPq6Z+Tv7Jkeg1RwKImqjhYIEeJ681AIf d0XG02f4E6FkIdXB8I3AyMZFvXEmPOUmJKC02w7X2IVZs478ID7Siy+DQdBoS3dF8RtpEZ 3egE3BSf+ITcGJOmc1BbokjDQQr84hXi3EZnCBnY5PRFjKlFyftcFwuE0P4SFQ== 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 4SyYvW1XdVz5R2; Sun, 24 Dec 2023 08:23:19 +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 3BO8NJG5087565; Sun, 24 Dec 2023 08:23:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BO8NJXb087562; Sun, 24 Dec 2023 08:23:19 GMT (envelope-from git) Date: Sun, 24 Dec 2023 08:23:19 GMT Message-Id: <202312240823.3BO8NJXb087562@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Vladimir Kondratyev Subject: git: c58ddc254626 - main - LinuxKPI: Rename linux_list_add to __list_add() in linux/list.h List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wulf X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c58ddc25462699c0d13bf703adbed661bb102cac Auto-Submitted: auto-generated The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=c58ddc25462699c0d13bf703adbed661bb102cac commit c58ddc25462699c0d13bf703adbed661bb102cac Author: Vladimir Kondratyev AuthorDate: 2023-12-24 08:20:00 +0000 Commit: Vladimir Kondratyev CommitDate: 2023-12-24 08:20:00 +0000 LinuxKPI: Rename linux_list_add to __list_add() in linux/list.h to match Linux Sponsored by: Serenity Cyber Security, LLC Reviewed by: manu, bz MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42818 --- sys/compat/linuxkpi/common/include/linux/list.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/compat/linuxkpi/common/include/linux/list.h b/sys/compat/linuxkpi/common/include/linux/list.h index ca103a670109..eecb517d780e 100644 --- a/sys/compat/linuxkpi/common/include/linux/list.h +++ b/sys/compat/linuxkpi/common/include/linux/list.h @@ -144,7 +144,7 @@ list_replace_init(struct list_head *old, struct list_head *new) } static inline void -linux_list_add(struct list_head *new, struct list_head *prev, +__list_add(struct list_head *new, struct list_head *prev, struct list_head *next) { @@ -238,14 +238,14 @@ static inline void list_add(struct list_head *new, struct list_head *head) { - linux_list_add(new, head, head->next); + __list_add(new, head, head->next); } static inline void list_add_tail(struct list_head *new, struct list_head *head) { - linux_list_add(new, head->prev, head); + __list_add(new, head->prev, head); } static inline void