diff options
| author | Baokun Li <libaokun1@huawei.com> | 2021-09-01 16:53:36 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-06 15:31:14 +0200 |
| commit | 0e82e793caa01b744641d0f9f23b7e1cac12a056 (patch) | |
| tree | b27d4b30e961435b8773d584553765e896b32d3c /drivers/tty | |
| parent | 1192c198ea42a29ddc06813b20d1e3b2e25d4288 (diff) | |
scsi: iscsi: Adjust iface sysfs attr detection
[ Upstream commit 4e28550829258f7dab97383acaa477bd724c0ff4 ]
ISCSI_NET_PARAM_IFACE_ENABLE belongs to enum iscsi_net_param instead of
iscsi_iface_param so move it to ISCSI_NET_PARAM. Otherwise, when we call
into the driver, we might not match and return that we don't want attr
visible in sysfs. Found in code review.
Link: https://lore.kernel.org/r/20210901085336.2264295-1-libaokun1@huawei.com
Fixes: e746f3451ec7 ("scsi: iscsi: Fix iface sysfs attr detection")
Reviewed-by: Lee Duncan <lduncan@suse.com>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions
