diff options
| author | Mikulas Patocka <[email protected]> | 2020-04-03 17:05:50 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2020-04-03 17:07:41 +0000 |
| commit | 8267d8fb4819afa76b2a54dca48efdda6f0b1910 (patch) | |
| tree | 3462cb434ed814e3186fa90efdc51077dae36098 /drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c | |
| parent | Revert "dm: always call blk_queue_split() in dm_process_bio()" (diff) | |
| download | kernel-8267d8fb4819afa76b2a54dca48efdda6f0b1910.tar.gz kernel-8267d8fb4819afa76b2a54dca48efdda6f0b1910.zip | |
dm integrity: fix logic bug in integrity tag testing
If all the bytes are equal to DISCARD_FILLER, we want to accept the
buffer. If any of the bytes are different, we must do thorough
tag-by-tag checking.
The condition was inverted.
Fixes: 84597a44a9d8 ("dm integrity: add optional discard support")
Signed-off-by: Mikulas Patocka <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c')
0 files changed, 0 insertions, 0 deletions
