linux_dsm_epyc7002/drivers/net/ethernet/qlogic/qlcnic
Vladimir Zapolskiy d7a32b6e6b net: qlcnic: clean up sysfs error codes
Replace confusing QL_STATUS_INVALID_PARAM == -1 == -EPERM with -EINVAL
and QLC_STATUS_UNSUPPORTED_CMD == -2 == -ENOENT with -EOPNOTSUPP, the
latter error code is arguable, but it is already used in the driver,
so let it be here as well.

Also remove always false (!buf) check on read(), the driver should
not care if userspace gets its EFAULT or not.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Rajesh Borundia <rajesh.borundia@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-05-28 20:14:45 -07:00
..
Makefile
qlcnic_83xx_hw.c
qlcnic_83xx_hw.h ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
qlcnic_83xx_init.c ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
qlcnic_83xx_vnic.c
qlcnic_ctx.c
qlcnic_dcb.c
qlcnic_dcb.h
qlcnic_ethtool.c
qlcnic_hdr.h
qlcnic_hw.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2015-04-14 09:50:27 -07:00
qlcnic_hw.h
qlcnic_init.c
qlcnic_io.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-02-05 14:33:28 -08:00
qlcnic_main.c net: qlcnic: clean up sysfs error codes 2015-05-28 20:14:45 -07:00
qlcnic_minidump.c qlogic: Deletion of unnecessary checks before two function calls 2015-02-05 00:30:12 -08:00
qlcnic_sriov_common.c qlcnic: Delete existing multicast MAC list before adding new 2015-02-11 19:43:22 -08:00
qlcnic_sriov_pf.c
qlcnic_sriov.h
qlcnic_sysfs.c net: qlcnic: clean up sysfs error codes 2015-05-28 20:14:45 -07:00
qlcnic.h net: qlcnic: clean up sysfs error codes 2015-05-28 20:14:45 -07:00