diff options
author | Jens Axboe <[email protected]> | 2023-02-16 07:57:32 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-02-16 10:02:31 -0700 |
commit | db0ccc44a20b4bb3039c0f6885a1f9c3323c7673 (patch) | |
tree | 09bf85cd6d7d2cc1b46d021069a492f6613fd4c5 /lib/test_fortify/write_overflow-strscpy.c | |
parent | 3ce6a115980c019928fcd06e01f64003886af79c (diff) |
brd: return 0/-error from brd_insert_page()
It currently returns a page, but callers just check for NULL/page to
gauge success. Clean this up and return the appropriate error directly
instead.
Cc: [email protected] # 5.10+
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strscpy.c')
0 files changed, 0 insertions, 0 deletions