diff options
author | Jeffle Xu <jefflexu@linux.alibaba.com> | 2021-02-09 04:46:38 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-02-09 14:47:43 +0100 |
commit | 24f6b6036c9eec21191646930ad42808e6180510 (patch) | |
tree | f76f8054dd0a11bef3443b2f56092694b401a6f0 /drivers/remoteproc | |
parent | dm table: fix DAX iterate_devices based device capability checks (diff) | |
download | linux-24f6b6036c9eec21191646930ad42808e6180510.tar.xz linux-24f6b6036c9eec21191646930ad42808e6180510.zip |
dm table: fix zoned iterate_devices based device capability checks
Fix dm_table_supports_zoned_model() and invert logic of both
iterate_devices_callout_fn so that all devices' zoned capabilities are
properly checked.
Add one more parameter to dm_table_any_dev_attr(), which is actually
used as the @data parameter of iterate_devices_callout_fn, so that
dm_table_matches_zone_sectors() can be replaced by
dm_table_any_dev_attr().
Fixes: dd88d313bef02 ("dm table: add zoned block devices validation")
Cc: stable@vger.kernel.org
Signed-off-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/remoteproc')
0 files changed, 0 insertions, 0 deletions