From nobody Sat Mar 04 09:12:50 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 4PTJyp70LRz3vmtN; Sat, 4 Mar 2023 09:12:50 +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 4PTJyp6Tz6z3yvV; Sat, 4 Mar 2023 09:12:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677921170; 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=lol2iBnHpHbmM4yDs3o9XtFcSyHq0OcotOmJIc7y7IA=; b=uGHAZ+AQzmYcDLjFb1WPT5jKhkJMzbZAu/3R6EA1e2AVeVKJX+oZBK8CxnnF6dLc+MAKKB 2Dp7xLfSHC9/6BTH03peov8vSOkf+MudWIyS0D5gdgQ4ZSfCaQpQ86gYvy8pD3mAWISjjT zsz+O7MJZ6WK8y5ZUHEgbNZSBdzTQwMMZfe8yqxXT+Id3Mu7eTUGmDeA8C6bj27bjnfxcA JzELTBtN6qN6ooBrImr545X9uxRjmm218W3m0/tTyAMCHqsYFe9n1DszIKhv+Z/jQD7qOO PPaK4+jb99i4S+KHBH5SvzNdidY6DQpuI15qMsXhTnBnFaOaPbJS9dEM7pp6XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677921170; 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=lol2iBnHpHbmM4yDs3o9XtFcSyHq0OcotOmJIc7y7IA=; b=S8LjwoY3r38sNAlUjDLYsEo1IZn3KUW3TGp8Zt27SGYB/Vd+rJQFFQ7jHqn1jO4n0GlKoS VF8NZuyBBO7ZrtCPOQj9UBuy1dAjelxChXiEzK+bpGDtfoxlGIw7r3PrzfMIApdQ/mBN7a 3j0UWcLtAVyPWpmrYx2hJxsGNYcbbHaktaCrqcOUQwozqjzt5AnUxTNlfMGEBx2nK1l7Bq MjYMsJimUfNuzyXGo4Ml2zp6h8sukGAAAEYBj1OLyfCSTuisOH7kxLx3aIf4cW2+UyczWe P6S3HwKOLe7x8ws7I9/uYXde0CrU9UqBrSuFEYD1Trjqb2U4s4x0Rze/Rpu97g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677921170; a=rsa-sha256; cv=none; b=VgQzRWt3wCVaOSN+OX3tgC2scQShb/2pxq/RJhmv22LANOxq7g00PyylciX+v4gWQxbrf5 VoPnLRc5z/3u2X3Heu3jEmVpmSldoaHvx89mnILkNdUxY6DeCBUu4+7uCWp8x5kDm1Lufp 7iXX/Gru2O3OtXtLG0sjA+9SVINXBdpeV53YsbZ6hKMg2LzWWo63+/eYYoIt0IPpebH0yN uY3lUXPXJDwPpoT3KbsDmNUhEx0HvdlK2Hj6ePDSbDi7eAUQiEuzxGlwmU4I+3QYJef9us KOHsY5Lji7tT873r+yscROStcvutHRLLCtCo/PznLdak6Zc6C7XbvSH9j9hPUg== 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 4PTJyp5XgBzYq5; Sat, 4 Mar 2023 09:12:50 +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 3249ConI078964; Sat, 4 Mar 2023 09:12:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3249Cop0078963; Sat, 4 Mar 2023 09:12:50 GMT (envelope-from git) Date: Sat, 4 Mar 2023 09:12:50 GMT Message-Id: <202303040912.3249Cop0078963@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 96a8c6aa375a - main - linux(4): Fixup of the pointer cast when comparing to an integer 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: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 96a8c6aa375a33dba5a704ed91b7633b7416291a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=96a8c6aa375a33dba5a704ed91b7633b7416291a commit 96a8c6aa375a33dba5a704ed91b7633b7416291a Author: Dmitry Chagin AuthorDate: 2023-03-04 09:11:39 +0000 Commit: Dmitry Chagin CommitDate: 2023-03-04 09:11:39 +0000 linux(4): Fixup of the pointer cast when comparing to an integer --- sys/compat/linux/linux_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 4c95745e4307..27cf90b96a71 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -2189,7 +2189,7 @@ linux_ifconf(struct thread *td, struct ifconf *uifc) cbs.max_len = maxphys - 1; /* handle the 'request buffer size' case */ - if ((l_uintptr_t)ifc.ifc_buf == PTROUT(NULL)) { + if (PTRIN(ifc.ifc_buf) == NULL) { ifc.ifc_len = 0; NET_EPOCH_ENTER(et); if_foreach(linux_ifconf_ifnet_cb, &ifc);