diff options
author | Hyeonggon Yoo <[email protected]> | 2022-08-17 19:18:26 +0900 |
---|---|---|
committer | Vlastimil Babka <[email protected]> | 2022-09-01 11:44:39 +0200 |
commit | d5eff736902d5565a24f1b571b5987b3e5ee9a5b (patch) | |
tree | 6d7e5fe943c66e9296ec474bf80781178407025a /drivers/fpga/zynq-fpga.c | |
parent | 8dfa9d554061873f96335730fb1d403698b2b1b4 (diff) |
mm/sl[au]b: check if large object is valid in __ksize()
If address of large object is not beginning of folio or size of the
folio is too small, it must be invalid. WARN() and return 0 in such
cases.
Cc: Marco Elver <[email protected]>
Suggested-by: Vlastimil Babka <[email protected]>
Signed-off-by: Hyeonggon Yoo <[email protected]>
Reviewed-by: Vlastimil Babka <[email protected]>
Signed-off-by: Vlastimil Babka <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions