diff options
| author | Sergey Senozhatsky <[email protected]> | 2022-11-09 20:50:41 +0900 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-11-30 15:58:52 -0800 |
| commit | f24ee92cbe13242758635e654b2422dbf4912e4b (patch) | |
| tree | 0eb1cf4ffcbafde674cbcb23ad2d018be78a096e /tools/perf/scripts/python/flamegraph.py | |
| parent | 9fda785dbd14cfc7d874d00d2b007cb143aa48d0 (diff) | |
zram: use IS_ERR_VALUE() to check for zs_malloc() errors
Avoid typecasts that are needed for IS_ERR() and use IS_ERR_VALUE()
instead.
Link: https://lkml.kernel.org/r/[email protected]
Suggested-by: Andrew Morton <[email protected]>
Signed-off-by: Sergey Senozhatsky <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Cc: Alexey Romanov <[email protected]>
Cc: Nhat Pham <[email protected]>
Cc: Nitin Gupta <[email protected]>
Cc: Suleiman Souhlal <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions