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 net: ethernet: qlogic: qlcnic: Remove duplicate object file from Makefile 2014-08-11 12:44:35 -07:00
qlcnic_83xx_hw.c qlcnic: Use usleep_range() instead of msleep() for sleep less than 20ms 2014-08-29 20:15:36 -07:00
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: Use bool for rx_mac_learn. 2014-01-23 16:13:08 -08:00
qlcnic_ctx.c qlcnic: Fix number of arguments in destroy tx context command 2014-10-14 17:05:18 -04:00
qlcnic_dcb.c Update setapp/getapp prototypes in dcbnl_rtnl_ops to return int instead of u8 2014-07-17 16:02:29 -07:00
qlcnic_dcb.h qlcnic: Issue INIT_NIC command only once. 2013-12-17 17:09:43 -05:00
qlcnic_ethtool.c qlcnic: Fix ordering of stats in stats buffer. 2014-09-26 15:11:31 -04:00
qlcnic_hdr.h qlcnic: Support for 16 virtual NIC functions. 2013-12-17 17:09:44 -05:00
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: Add VXLAN Rx offload support 2014-03-24 00:44:23 -04:00
qlcnic_init.c qlcnic: Use usleep_range() instead of msleep() for sleep less than 20ms 2014-08-29 20:15:36 -07:00
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 net-next:v4: Add support to configure SR-IOV VF minimum and maximum Tx rate through ip tool. 2014-05-23 15:04:02 -04:00
qlcnic_sriov.h net-next:v4: Add support to configure SR-IOV VF minimum and maximum Tx rate through ip tool. 2014-05-23 15:04:02 -04:00
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