diff options
| author | Dan Carpenter <[email protected]> | 2018-07-04 09:35:56 +0000 |
|---|---|---|
| committer | Tyler Hicks <[email protected]> | 2019-02-16 22:42:47 +0000 |
| commit | 0bdf8a8245fdea6f075a5fede833a5fcf1b3466c (patch) | |
| tree | c599abcee8b22ab95caa56f7e628026f1ed4cd8d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/... (diff) | |
| download | kernel-0bdf8a8245fdea6f075a5fede833a5fcf1b3466c.tar.gz kernel-0bdf8a8245fdea6f075a5fede833a5fcf1b3466c.zip | |
eCryptfs: fix a couple type promotion bugs
ECRYPTFS_SIZE_AND_MARKER_BYTES is type size_t, so if "rc" is negative
that gets type promoted to a high positive value and treated as success.
Fixes: 778aeb42a708 ("eCryptfs: Cleanup and optimize ecryptfs_lookup_interpose()")
Signed-off-by: Dan Carpenter <[email protected]>
[tyhicks: Use "if/else if" rather than "if/if"]
Cc: [email protected]
Signed-off-by: Tyler Hicks <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
