diff options
| author | Colin Ian King <[email protected]> | 2019-05-11 02:06:38 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2019-05-11 02:06:38 +0000 |
| commit | fbbbbd2f28aec991f3fbc248df211550fbdfd58c (patch) | |
| tree | e8aaa7d407923741c2dd3a307bb658aa66edc922 /drivers/pwm/pwm-stm32-lp.c | |
| parent | ext4: fix use-after-free in dx_release() (diff) | |
| download | kernel-fbbbbd2f28aec991f3fbc248df211550fbdfd58c.tar.gz kernel-fbbbbd2f28aec991f3fbc248df211550fbdfd58c.zip | |
ext4: unsigned int compared against zero
There are two cases where u32 variables n and err are being checked
for less than zero error values, the checks is always false because
the variables are not signed. Fix this by making the variables ints.
Addresses-Coverity: ("Unsigned compared against 0")
Fixes: 345c0dbf3a30 ("ext4: protect journal inode's blocks using block_validity")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions
