aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2024-07-28 20:50:01 +0000
committerLinus Torvalds <[email protected]>2024-07-28 20:50:01 +0000
commit017fa3e89187848fd056af757769c9e66ac3e93d (patch)
treece3cd30c5a05f86b0573d19e612d47efa2b27dd9 /drivers/fpga/tests
parentminmax: add a few more MIN_T/MAX_T users (diff)
downloadkernel-017fa3e89187848fd056af757769c9e66ac3e93d.tar.gz
kernel-017fa3e89187848fd056af757769c9e66ac3e93d.zip
minmax: simplify and clarify min_t()/max_t() implementation
This simplifies the min_t() and max_t() macros by no longer making them work in the context of a C constant expression. That means that you can no longer use them for static initializers or for array sizes in type definitions, but there were only a couple of such uses, and all of them were converted (famous last words) to use MIN_T/MAX_T instead. Cc: David Laight <[email protected]> Cc: Lorenzo Stoakes <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/fpga/tests')
0 files changed, 0 insertions, 0 deletions