diff options
| author | Christoph Hellwig <[email protected]> | 2017-08-11 19:45:35 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2017-08-11 23:56:33 +0000 |
| commit | e28ae8e428fefe2facd72cea9f29906ecb9c861d (patch) | |
| tree | a78610c117be8103f6a1c87ea44327cfab4537fe /drivers/pwm/pwm-stm32-lp.c | |
| parent | xfs: fix inobt inode allocation search optimization (diff) | |
| download | kernel-e28ae8e428fefe2facd72cea9f29906ecb9c861d.tar.gz kernel-e28ae8e428fefe2facd72cea9f29906ecb9c861d.zip | |
iomap: fix integer truncation issues in the zeroing and dirtying helpers
Fix the min_t calls in the zeroing and dirtying helpers to perform the
comparisms on 64-bit types, which prevents them from incorrectly
being truncated, and larger zeroing operations being stuck in a never
ending loop.
Special thanks to Markus Stockhausen for spotting the bug.
Reported-by: Paul Menzel <[email protected]>
Tested-by: Paul Menzel <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions
