diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2021-01-28 14:56:58 +0900 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-02-08 21:11:32 -0500 |
commit | bf1b4659dc278b68f22b11b2c5fe7e3eb96e75a7 (patch) | |
tree | b50537167c30a20b77f10e19cd4f85aca8d10462 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d2aacd36a8e00bc1813841b482e3933acb1ea0b5 (diff) |
scsi: sd: Warn if unsupported ZBC device is probed
In sd_probe(), print a warning if CONFIG_BLK_DEV_ZONED is disabled and a
TYPE_ZBC device is found. While at it, use IS_ENABLED() to test if
CONFIG_BLK_DEV_ZONED is enabled instead using of a #ifdef.
Link: https://lore.kernel.org/r/20210128055658.530133-1-damien.lemoal@wdc.com
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions