u-boot/include/linux
Tom Rini f1e5599241 Merge patch series "integer limit macro consolidation"
Rasmus Villemoes <ravi@prevas.dk> says:

I was bitten by our limit macros not being usable in #if conditionals
when building a standalone app. It turns out that the work to fix that
had already been started by the inclusion of the mbedtls library, so
it's something that people do hit.

Let's finish the job by providing suitable limit macros for all three families:

- Standard C types, char, short, ...
- Kernel-style fixed-width types s8, u64, ...
- POSIX/C99 fixed-width types int16_t, uint32_t, ...

Please note that a naive approach like spelling out the full decimal
value for the constants doesn't really work, as there is no such thing
as a "negative integer constant". That is, doing

#define LLONG_MIN -9223372036854775808LL

would lead to the compiler complaining

  warning: integer constant is so large that it is unsigned

and the type of that LLONG_MIN would actually be "unsigned long long", so e.g.

#if LLONG_MIN >= 0
#warning "LLONG_MIN is not negative?"
#endif

would fire.

Link: https://lore.kernel.org/r/20250707203655.613340-1-ravi@prevas.dk
2025-07-14 12:43:33 -06:00
..
byteorder include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
clk
mfd/syscon mfd: syscon: atmel-smc: Add new helpers to ease SMC regs manipulation 2022-12-08 18:06:27 +02:00
mtd mtd: spi-nor: Use CONFIG_IS_ENABLED for CONFIG_SPI_FLASH_BAR defines 2025-04-29 15:27:07 -06:00
soc/ti ti_sci_* : Add capability to access DM firmware's metadata 2025-06-18 12:20:25 -06:00
unaligned linux/unaligned: remove unused access_ok.h 2023-05-31 14:05:34 -04:00
usb usb: gadget: introduce 'enabled' flag in struct usb_ep 2025-04-23 09:50:52 +02:00
apm_bios.h
apple-mailbox.h
arm-smccc.h firmware: psci: Fix bind_smccc_features psci check 2024-03-13 12:40:43 -04:00
asn1_ber_bytecode.h
asn1_decoder.h
asn1.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
bch.h
bitfield.h linux/bitfield.h: sync <linux/bitfield.h> from Linux 6.15 2025-06-14 09:11:10 -06:00
bitmap.h linux/bitmap.h: add bitmap_empty helper 2024-07-26 01:28:09 +02:00
bitops.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
bitrev.h
bug.h
build_bug.h Fix sparse checks processing 2023-05-15 14:08:45 -04:00
clk-provider.h clk: add CONFIG_CLK_AUTO_ID 2025-06-11 09:42:55 +02:00
compat.h Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
compiler_attributes.h
compiler_types.h compiler: Ensure __builtin_*_overflow() support 2024-08-15 16:14:36 -06:00
compiler-clang.h
compiler-gcc.h
compiler-intel.h
compiler.h
completion.h
const.h
crc7.h
crc16.h
crc32.h
ctype.h
delay.h
dma-direction.h
dma-mapping.h
drm_dp_helper.h
edd.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
err.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
errno.h
ethtool.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
fb.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
if_ether.h
if_vlan.h
immap_qe.h qe: Add <config.h> to linux/immap_qe.h 2023-12-21 08:54:37 -05:00
input.h
intel-smc.h arm: socfpga: soc64: Update reset manager registers for F2S bridge 2025-04-22 11:47:39 +08:00
io.h
ioctl.h
iopoll.h
ioport.h
kbuild.h
kconfig.h kconfig: binman: Check for SPL instead of XPL 2024-10-11 11:44:48 -06:00
kernel.h limits.h: provide all limit macros for standard [u]intNN_t types 2025-07-14 12:43:28 -06:00
libfdt_env.h
libfdt.h
linkage.h
linux_string.h
list_sort.h
list.h linux/list.h: drop fallback definition of prefetch() 2025-06-18 08:05:04 -06:00
litex.h liteeth: LiteX Ethernet device 2022-11-28 10:25:17 -05:00
log2.h
lzo.h
math64.h
mbus.h
mdio.h net: phy: Add MDIO PCS 2.5G and 5G speed macros from Linux 2023-04-07 14:21:37 +02:00
mii.h include/linux/mii.h: Add <linux/types.h> 2023-11-07 14:50:52 -05:00
netdevice.h
oid_registry.h
poison.h
posix_types.h
printk.h
pruss_driver.h
psci.h
rational.h
rbtree_augmented.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
rbtree.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
screen_info.h
serial_reg.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
sizes.h linux/sizes.h: sync from kernel 2025-06-03 17:18:03 -06:00
stat.h linux: Add generic struct stat {} 2025-04-02 20:00:59 -06:00
stddef.h Fix sparse checks processing 2023-05-15 14:08:45 -04:00
string.h lib: implement strnstr() 2025-02-12 12:37:12 -06:00
stringify.h
time.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
typecheck.h
types.h common: define time_t as 64bit 2023-07-25 12:44:46 -04:00
utf.h
xxhash.h
zstd_errors.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
zstd_lib.h include: linux: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
zstd.h lib: zstd: update to latest Linux zstd 1.5.2 2023-01-18 19:04:17 -05:00