From nobody Thu Feb 16 11:55:37 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 4PHYL140cYz3q5Bt; Thu, 16 Feb 2023 11:55:37 +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 4PHYL13Ym1z47HM; Thu, 16 Feb 2023 11:55:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548537; 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=7E5gC2EdohFWAW8TPDU7Vk+MuP/ZXxzKVq+lvA9jvoA=; b=Gvj6jG6B8UAOgK2WFhxGo7bbYdLmgFD/SFaFnH6LdmhLMg8BZ74On7/Lcn3PEU8d1E6lrR v9jfk0NNFTvOffuxrAIalC4ciH/k4miMjgXPFT64LL6wqbLe1uCCHm14zKoAyke0vfGH5Q kJuWz6zeiiF8FMM1UCHczNrY5eDp3pPEO5H7zWilv/0olpjz37zAKDUEVLbxYgb+Ql3CwS pO2Lz0clzy2kKBz/BTbOFK6fcgmQWDGH8y6mMQDhaE6ryufoC9MQhdnTr4B9+31DekluUk mJKg+xNOetvMP9S0ELnBh4nYT98bsvkUKTzDmaetq00Ohmftcs1ikQRvlNso/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676548537; 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=7E5gC2EdohFWAW8TPDU7Vk+MuP/ZXxzKVq+lvA9jvoA=; b=eIevj50p5OQntTLduWEqId+SXGNC8H77SYlC/WrNAp0NVQrr3vkpwzgCMknq+N0zrOyH9M R22kWY6jJwcBitOYB6Rxf8H6lM5C/3vNrWiqA8d6LM5EN0iGd04qR8lp+/xS6zI3JBeGuV f+S845y3mKcg5a7vdvY42bu6bVhxPvV4CZXwsb4wj4uU2IlKFL4qtyNAwoJlCgDxp0aSNI OXz0ca3qivJKLrPijwvjI/RKAB2+8yTWVMDfgUlNjW2mcwFrSb0pL6UpnFgGZObeLTV8bU ADh0iXRNOaDYHUV8h7UrxjwegvkaLM1LKcLqiA4H45jzicwfZfh+IM1lc/qDgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676548537; a=rsa-sha256; cv=none; b=D8oo0gtQRoK1Ew9W9sJP1CSwUc+L7WRTgp0jOrmOewClGuVuCsJDoCkgQa4ouwh4oI4Jjt Ic49P9xCvr4JX13BQ43yPud/rY4LHZUwyaXNQVhhSDcoooofHnwipNVjgBKOkj5ORAkZse OKNPgIsn56Wo7ukPNt1Jwf5wIc5VGnrzSVj3+rY0EiMcLjVcR19MHRciLTZ8nARQTTqJ8V fncMCij6B3p+ddpCgz4SHAcQhaN6SbwdRzJMp42kRdeZ1Zhdd8o3ZPRhG5SvfNXLYgmsS/ iU5cNSrqFKF2s8cpheSXNsZ7ucZ9dFtmWlVko77AojXFhKuApIenipNiQlLC+g== 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 4PHYL12fS5z1351; Thu, 16 Feb 2023 11:55:37 +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 31GBtb9X054815; Thu, 16 Feb 2023 11:55:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31GBtbw1054814; Thu, 16 Feb 2023 11:55:37 GMT (envelope-from git) Date: Thu, 16 Feb 2023 11:55:37 GMT Message-Id: <202302161155.31GBtbw1054814@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Subject: git: e50dd7e3bf1c - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: e50dd7e3bf1cdddcb5bd3b0fa1a57843cb8a30a1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dumbbell (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=e50dd7e3bf1cdddcb5bd3b0fa1a57843cb8a30a1 commit e50dd7e3bf1cdddcb5bd3b0fa1a57843cb8a30a1 Author: Jean-Sébastien Pédron AuthorDate: 2023-01-02 22:48:16 +0000 Commit: Jean-Sébastien Pédron CommitDate: 2023-02-16 11:55:11 +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 (cherry picked from commit e8ce32bea30d599b481735a1d1b0a87ac06c5a66) --- 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