diff options
author | Leon Romanovsky <[email protected]> | 2020-09-13 13:29:28 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-10-01 21:20:11 -0300 |
commit | a4947e84f23474803b62a2759b5808147e4e15f9 (patch) | |
tree | 7a71498b43688eda31238f5cf8246969c7fedade /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f45271acdf9eeb003296862b017806d41ec4ec55 (diff) |
overflow: Include header file with SIZE_MAX declaration
The various array_size functions use SIZE_MAX define, but missed limits.h
causes to failure to compile code that needs overflow.h.
In file included from drivers/infiniband/core/uverbs_std_types_device.c:6:
./include/linux/overflow.h: In function 'array_size':
./include/linux/overflow.h:258:10: error: 'SIZE_MAX' undeclared (first use in this function)
258 | return SIZE_MAX;
| ^~~~~~~~
Fixes: 610b15c50e86 ("overflow.h: Add allocation size calculation helpers")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions