From nobody Thu Oct 29 20:30:27 2026 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 4jFwpW6Bbrz6xcPm for ; Thu, 29 Oct 2026 20:30:27 +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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jFwpW3ws6z4Q4y for ; Thu, 29 Oct 2026 20:30:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793305827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zVbveUY82F67VuhnBi3tkIERRgKDCH0YAZ+F209HwJ0=; b=n++pwJGMJUg2qP5homKwh7lnPrqHV1RV2iTbdHTDIsRlTwXRBgQFDhqIvN8xjl9d1RUnMs d40IbPEVhTXUxpm0pJTZfi1II35fQYKV3FJ/xaxZoDaV1CUDKY0y+0ngHqMPaufsyOdv0f Q5Jnsx7G8y19HiyZZU9nKv5m7CNKSunY/Hw8Kh20u1TxwRlbjhXme0tyxJQiU2xc7Qezle tLgfHZ2nYIdbbpWvhVkEL+xVHVv4yUD8MsAsbyyWa0h0Kt3qLJahtGdiWkAY2UZXIco/PD fg6tezuLRZeOzCSMg2S7cmnc2Wmo+XIzp3WLxnhQ4BpmZv04bdS/mr8nlx7gIg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793305827; b=w8OZFcN5H9jcrxNG4O9FLNVIyogEEsGIpjP1vCyJ1ChiqEHMgoNiVXiAU87//xfVqVPlJs BE+CxCMmQbxZ2XpIcL9CZLYSlhuWegezDfxz4wTcYRTFzBh3DWkWrCnrEHVfFdyGwhSlvS +PWuS29HDvm1gDtHQ/9Vb2+Z5H88+SiYz3V9gG6+r5s6nivqjlEqCQ/Hi99iCTlk3QFbUu ktdvoO2PqT1XSN8gigwh0KeK4bCHg1YNNmdIvHqDw2hJKg4hbouRzM17BwwvIOtHK++Jz1 EKYhz1yQf87dn40QF6nuNZ9utRXlx/mCcwAJyvLOJRmcvGBtufYPveer6fVJmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793305827; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zVbveUY82F67VuhnBi3tkIERRgKDCH0YAZ+F209HwJ0=; b=wFSpiSB7QnqTapPwa0IFl0E5T5S1pmv8Wg2OBhuz4GXbDmBF0wgFPt0Sj04kl5OKL/VRJT l8vn7aTzmRSn/F0jSvoa9jxVZhmYJc2DZbsZJT2QGnJjAWa3Ra05NJNVo9JxnBOx4fTy7H 8DZ2XAka726L3UbS/h0nhftKqFNXINoVbkvCg0DxCDISRxI5Mg3i+N5mgSR61o7r5doL0W DhyIgnenbWCt+hPAQKfPn03koDPZI4w/2WaWAOZHbxYq3rKfu5lQxWLtG3TEbfBhcVO+sg yF6fMNMQoYbdWMbU0gMRFlCu8SEdvOe4RiwVCWRjP2ltZjQiI8ZBvkLGAzGKFw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jFwpW3398zwJq for ; Thu, 29 Oct 2026 20:30:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 2061a by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 29 Oct 2026 20:30:27 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Ryan Moeller From: Kevin Bowling Subject: git: 8dfb00511e6e - stable/15 - lib/libifconfig: Fix pointer-sign warnings List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: Commits to the stable branches of the FreeBSD src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 8dfb00511e6ee7f7741e594224b9412ee73214b0 Auto-Submitted: auto-generated Date: Thu, 29 Oct 2026 20:30:27 +0000 Message-Id: <6ae3ace3.2061a.85b0b70@gitrepo.freebsd.org> The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=8dfb00511e6ee7f7741e594224b9412ee73214b0 commit 8dfb00511e6ee7f7741e594224b9412ee73214b0 Author: Ryan Moeller AuthorDate: 2026-10-13 16:41:52 +0000 Commit: Kevin Bowling CommitDate: 2026-10-29 20:25:20 +0000 lib/libifconfig: Fix pointer-sign warnings Fix all pointer-sign warnings generated when compiling libifconfig. A couple more snuck in while the previous batch of fixes was landing. Fixes: 963f1a5455c9 ("ifconfig: add CMIS support for 400GbE optics") Reviewed by: kevans Approved by: kevans (mentor) Differential Revision: https://reviews.freebsd.org/D60573 (cherry picked from commit a3c57739ca07c655fbb0f9e7ddd38968186b8a76) --- lib/libifconfig/libifconfig_sfp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libifconfig/libifconfig_sfp.c b/lib/libifconfig/libifconfig_sfp.c index dcd5ef2e8e57..a2148f44984a 100644 --- a/lib/libifconfig/libifconfig_sfp.c +++ b/lib/libifconfig/libifconfig_sfp.c @@ -432,7 +432,7 @@ static void get_cmis_string(struct i2c_info *ii, uint8_t off, char *dst) { read_i2c_page(ii, CMIS_BASE, 0x00, 0, off, - SFF_VENDOR_STRING_SIZE, dst); + SFF_VENDOR_STRING_SIZE, (uint8_t *)dst); dst += SFF_VENDOR_STRING_SIZE; do { *dst-- = '\0'; } while (*dst == 0x20); } @@ -440,7 +440,7 @@ get_cmis_string(struct i2c_info *ii, uint8_t off, char *dst) static void get_cmis_date(struct i2c_info *ii, uint8_t off, char *dst) { - char buf[SFF_VENDOR_DATE_SIZE]; + uint8_t buf[SFF_VENDOR_DATE_SIZE]; read_i2c_page(ii, CMIS_BASE, 0x00, 0, off, SFF_VENDOR_DATE_SIZE, buf);