From nobody Sun Feb 8 10:03:38 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 413FE15746E for ; Mon, 22 Dec 2025 07:45:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766389553; cv=none; b=NsZyzWJLM5S5+EmQIL3507oq/lOzk9bo05lpL/tqSsYHLDi+Wl28QWNQlZ6wifbtvA653P5HZH7+em63RKuVnAGUSHozGN3yYXjOLBnR0evnyKC4mYVI5US/6lFl7x1/Bs+HFp8rbxn0JQdlaEjOjf90/U7UNvEoSJFo/pXsXs4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766389553; c=relaxed/simple; bh=qyYZCEQErSTf1DvzkP50W00w39AQCfANzE/RL3leYPA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=bvHfHjEL8Chb7LhU7KOlbcuYaOIbu6s5jTyWw6ZEA1a3KnBnEQL8dXE5TTL9Zzyb5RTSA+lzJkPxtP2QfS8Z7y/DujxWRs28UKW1zNe4Cm8W8w+O1qe5GVeupDOx2Xi+s8oh1t4Xn9aU0IrF8IwHNChIzhTL9dlHK/vLiE3oBug= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=mEZZW+l+; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=e+Hlfbt3; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="mEZZW+l+"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="e+Hlfbt3" From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1766389550; 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=ZIlejhHvxVSAdm3nsWJuuDatRwKU4VMrh1amKHZc9As=; b=mEZZW+l+6WN+H5vERznhcP8aPG8rNx7VZTVq6af42QXhVi1UnS6nIMRqUy9O/oBBkAes46 rAr3aa/HBf/BUkKj7jWqnSChi4Ohj3q67PUrwjJRWNT8k4CTj0YKduvLirMsjyHlSYWnV0 25r+yuomZ+Ae7QGL5uNYE6mTUOgwjtBVNfCVaaiArePNsanNPAl52+oWepMSH10iHD8c65 FqqX7ZdZ2rWBeqjCAzEyeB8b9KhFIxQ3U7vFTsc3qwL+5CFfzzH3mAiiOUebrVVapDhLau 6v8Rkfg5iqrUvy1N9ZITj4aEw1oyJjQkUtN1R3eFiI5WLifmCLJopTmp1Umnbg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1766389550; 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=ZIlejhHvxVSAdm3nsWJuuDatRwKU4VMrh1amKHZc9As=; b=e+Hlfbt3fOf58FHzCoSPTI7yWi5y9DtdWl/JDugyMq4LwUiLE0h+i/iXGUqbITKpibzGCo PtNaw+tag+uNnXBA== Date: Mon, 22 Dec 2025 08:45:48 +0100 Subject: [PATCH] regulator: uapi: Use UAPI integer type Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251222-uapi-regulator-v1-1-a71c66eb1a94@linutronix.de> X-B4-Tracking: v=1; b=H4sIACv3SGkC/x3MMQqAMAxA0atIZgtN0KJeRRyKRg2IltSKIN7d4 viG/x+IrMIRuuIB5UuiHHsGlgWMq98XNjJlA1mqkYhM8kGM8pI2fx5q5rayLTYO0Y2Qo6A8y/0 P++F9Py3kDN9gAAAA X-Change-ID: 20251222-uapi-regulator-f9409186116c To: Liam Girdwood , Mark Brown Cc: Arnd Bergmann , linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Developer-Signature: v=1; a=ed25519-sha256; t=1766389549; l=1120; i=thomas.weissschuh@linutronix.de; s=20240209; h=from:subject:message-id; bh=qyYZCEQErSTf1DvzkP50W00w39AQCfANzE/RL3leYPA=; b=y0kUiR11cVOqmLjzQw8q/Pw3hWuZsfcJlQSq5uh2ifvFKIBRB9YXRvWSz8AHHxsZp26yOyF9H kgm0+7jSjT0DirGmlWjtIIf+P2fDel3ZaYdjXRFds17ae1JnDowzlCa X-Developer-Key: i=thomas.weissschuh@linutronix.de; a=ed25519; pk=pfvxvpFUDJV2h2nY0FidLUml22uGLSjByFbM6aqQQws= Using libc types and headers from the UAPI headers is problematic as it introduces a dependency on a full C toolchain. Use the fixed-width integer type provided by the UAPI headers instead. Signed-off-by: Thomas Wei=C3=9Fschuh Acked-by: Arnd Bergmann --- include/uapi/regulator/regulator.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/include/uapi/regulator/regulator.h b/include/uapi/regulator/re= gulator.h index 71bf71a22e7f..c4f2d1c19828 100644 --- a/include/uapi/regulator/regulator.h +++ b/include/uapi/regulator/regulator.h @@ -8,11 +8,7 @@ #ifndef _UAPI_REGULATOR_H #define _UAPI_REGULATOR_H =20 -#ifdef __KERNEL__ #include -#else -#include -#endif =20 /* * Regulator notifier events. @@ -62,7 +58,7 @@ =20 struct reg_genl_event { char reg_name[32]; - uint64_t event; + __u64 event; }; =20 /* attributes of reg_genl_family */ --- base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8 change-id: 20251222-uapi-regulator-f9409186116c Best regards, --=20 Thomas Wei=C3=9Fschuh