From nobody Mon Jan 16 18:27:42 2023 X-Original-To: dev-commits-src-all@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 4NwgVk42ctz2t2J4; Mon, 16 Jan 2023 18:27:42 +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 4NwgVk3Pydz3j3x; Mon, 16 Jan 2023 18:27:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673893662; 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=iVkIIg+KUw7ZzO2WAqE54+yD3CoA4mNvIbPQDacesWU=; b=pisYoV0zRo3qRqTNB7htozHQsu77KpiOAfIMRhMPUmKWYA6+u09BMg2n+3kSxT+sV/Q+0v qSt0QR8EP5nk7+5FadJ6dzSQweRhE3CfetTp2Es/bpKRjCPUXF/MH0tiEaiNQTfBB9iOJS n4diCV4C5DFngEBhAoXR2U16zq530PgkjPxUwiAMUi9+dEofxjjwzuRxr0JoG5S2cjoApS JbmpOQjmeyJPR0IbJAmVtLDjcylExG6mHRDEYvfZzGCXVjrULdCAjxyAdcUhEkYd4rhDWe amaRP4PyvfBi6pZFIeBvPDhAJHEle66Ax6LKPWrD1k43tkMTYvwacKTE2htykw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673893662; 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=iVkIIg+KUw7ZzO2WAqE54+yD3CoA4mNvIbPQDacesWU=; b=ryk4R63EmvDA9uYrhxxoXQXVtm2CeVWdeM0qFus8JPdpUDYmYpYpbD749dcNV+fJL4P9h/ ZWkBU+YSugMOJjTOtha4oqn8zJrKucDqTAC/0sn9ErRqWyqJDgIXtyHItRACzOznXYIXjF P7oUcZHFj0sGHSM57ytKwyt0nRhPkpgk9oYZOwZ4Qmh9645kri3AUz9+o/06AB48T2Tdn8 /sB4gXnvIBHSRR3s6W6EQCuwNh9HibRK0BNo18yssle98E+mzOHJHfcmPMfFzD6fHExRj/ Lv6u+vWIGsqm7m0x6OorzuB1rAPvXcS+1GM0bkaNcTu+zKo/kxq/8OCKMNZvgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673893662; a=rsa-sha256; cv=none; b=HrDzT3y/+3qKnlpfAqyJmEMUu6YZJnjvR4G4xZhMANbElh7oB+cBtnNZ7P1hcepW1vHQsn fi/tWd3ktA48m2NQPyVojAq46jEjArKYFF/MDA2IrRudbXyU6s2Vx5s2/Vr7/0YVn1qFD9 /wG8Dy6+5lYKh8RbrBqm+VTHpGJm1eYgRNMpi7qU4wr4FIISudaUjm4LKCj9htU8pUs57v LvqmB/E5Io6r8XLpM80UwcLEAOkVjDMOIZXhIO5yVGpByBUNBY/7G+r89l8TRgM4oxeANO mCzRN5GN/NasT96MZKYVsP6Y9a+6aFZgTONHcyvSt90ADjoscskm8Oqyw33lSw== 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 4NwgVk2X6qz1GKV; Mon, 16 Jan 2023 18:27:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30GIRgO1078560; Mon, 16 Jan 2023 18:27:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30GIRgIZ078559; Mon, 16 Jan 2023 18:27:42 GMT (envelope-from git) Date: Mon, 16 Jan 2023 18:27:42 GMT Message-Id: <202301161827.30GIRgIZ078559@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: e8ce32bea30d - main - linuxkpi: Define EBADSLT to 57 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dumbbell X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e8ce32bea30d599b481735a1d1b0a87ac06c5a66 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=e8ce32bea30d599b481735a1d1b0a87ac06c5a66 commit e8ce32bea30d599b481735a1d1b0a87ac06c5a66 Author: Jean-Sébastien Pédron AuthorDate: 2023-01-02 22:48:16 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-01-16 18:27:21 +0000 linuxkpi: Define EBADSLT to 57 This is the same error code as Linux. As emaste@ noted in the review, FreeBSD defines the following errno values in `sys/errno.h`: * 56 is `EISCONN` * 57 is `ENOTCONN` Reviewed by: manu Approved by: manu Differential Revision: https://reviews.freebsd.org/D37935 --- sys/compat/linuxkpi/common/include/linux/errno.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/errno.h b/sys/compat/linuxkpi/common/include/linux/errno.h index 72d8af6779a5..796203422d23 100644 --- a/sys/compat/linuxkpi/common/include/linux/errno.h +++ b/sys/compat/linuxkpi/common/include/linux/errno.h @@ -34,6 +34,7 @@ #include #define EBADRQC 56 /* Bad request code */ +#define EBADSLT 57 /* Invalid slot */ #define ECHRNG EDOM #define ETIME ETIMEDOUT