From nobody Tue Oct 13 16:44:00 2026 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 4j40Xk0psyz6vhHW for ; Tue, 13 Oct 2026 16:44:06 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4j40Xj6QVQz4c4Y for ; Tue, 13 Oct 2026 16:44:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791909845; 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=B+uk72ZyktJumoleIunBUjbTMJSKbgv51DZ/g6J7Stw=; b=Nv3xLxIMWVnRCC+JukoME4hsKt2IBCAeyDv7XB1VRDZFpo6YnXUf1JrAW9mUE9nDdB0NoF oo+qt4GNb8LTfhCj0WZU06uHi4LY66teH2Pqcowus7cYJC5ymTDW2XPAGZ4ZiLX5/U5MKU QcOBt1LZd6bLPlku7CRv495ovtbIj9StErJ8CVGCpjx4wKWjiVHlhb9T5saYrgtutNHH1L 9tFZd9mnlNS5+6Z5Fgq0OyowOqOyL62QUu06DSjczMnzZcE+Et1SCxfRmtWwC6nRT/ltiu xOexla4CLCIy3VMtAtb/CTbvlbQqG6n6NZyd5SUm/Qk5REbkUPcp8AK9Y/F16Q== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791909845; b=VptAHwZVqEAN/imAVE2DJepHB5iET8xyUpLfgz9pEyF5q95iiIvpT55BXWJqZDjULvEkQY 755W+awJs+7BeJ89uUQ5eOh9LodFHD0FUnlZahvo6MiVQkyS3tCGYg692pWDQGAgCfz8BT FqXHvSXp6bNr5orCpOPVeOR3fh530xaHnLoQAVFX00VUdc1lH9tUd6tuOOdAlnXt8+BfLx lFwn3sQnkryL0Hb7bW0y1Hx5+tKIYGbKJjUm9HwZbumbftW6xzTCNy2kZ2Tc8gUh/BrQ8h C3r4EZZxKM7RHBuXmkjsi/2dLsqszCM8A9E0s56aDHLbu9gIZSlx3/Z5ZFaQGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791909845; 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=B+uk72ZyktJumoleIunBUjbTMJSKbgv51DZ/g6J7Stw=; b=Es42hzfKU4kwH8iegbcM4OQMOlLFuD/0itMVWM3vsoLwSMFUkV6GU9/8nv2VyTKcUl1JBn ZJfJzEJ0MS7ngZclA+6uVeN7Ep6ynyGhgqE2kYCToGiLsz4n99GL2L+ECLuta8wRebiXlm ahQyCdWtfOyOjMUSOF+O89AZ+QNd23WpfqfTZVGly2iXV/zfyKLaBstOZACmqDAdBc3B/J W+vaed6n0DPVEcMcmhoI2SqFgotr8uLrqOgzuUMbpSx/ilapPL8Uf5P1v2xzukyuC0uLU+ yOY3FEUSeeD8939Zt5DR7EYZV+fveskLDTBfOAt3+EpObnx7Jh3RqkdURTaUEA== 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 4j40Xj5Fs6zMMR for ; Tue, 13 Oct 2026 16:44:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 279c3 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 13 Oct 2026 16:44:00 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ryan Moeller Subject: git: a3c57739ca07 - main - lib/libifconfig: Fix pointer-sign warnings List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the 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: rmoeller X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a3c57739ca07c655fbb0f9e7ddd38968186b8a76 Auto-Submitted: auto-generated Date: Tue, 13 Oct 2026 16:44:00 +0000 Message-Id: <6ace5fd0.279c3.177a5b05@gitrepo.freebsd.org> The branch main has been updated by rmoeller: URL: https://cgit.FreeBSD.org/src/commit/?id=a3c57739ca07c655fbb0f9e7ddd38968186b8a76 commit a3c57739ca07c655fbb0f9e7ddd38968186b8a76 Author: Ryan Moeller AuthorDate: 2026-10-13 16:41:52 +0000 Commit: Ryan Moeller CommitDate: 2026-10-13 16:41:52 +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 --- 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);