summaryrefslogtreecommitdiffstats
path: root/sys/dev/i2c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2006-07-20 21:05:18 +0000
committermiod <miod@openbsd.org>2006-07-20 21:05:18 +0000
commit302f939fd2ba276575e227b3149e98d702143b17 (patch)
treee536c6ea420d19d1f00b8b69836a9e2f4e151f20 /sys/dev/i2c
parentEnable bus master; X probably needs it to do accelerated graphics. (diff)
downloadwireguard-openbsd-302f939fd2ba276575e227b3149e98d702143b17.tar.xz
wireguard-openbsd-302f939fd2ba276575e227b3149e98d702143b17.zip
Introduce a new compiler warning, -Wstack-larger-than-N, to report
functions which are too greedy in stack variables. This is intended to be used for kernel compiles, where this warning will be enabled for a reasonable size (after a few weeks grace period so that people can upgrade their compiler). Please note that this warning relies upon md code, and as such is only available on platforms OpenBSD runs on; also, the stack size being warned on is only the local variables size, regardless of the ABI stack usage requirements and the callee-saved registers; which means a function may be warning-clean yet need more stack space than meets the eye; the actual size being checked on may change to include these extras in the future.
Diffstat (limited to 'sys/dev/i2c')
0 files changed, 0 insertions, 0 deletions