From: Vladimir Zapolskiy <v...@mleia.com> Date: Tue, 26 May 2015 03:49:45 +0300
> 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 <v...@mleia.com> Qlogic folks, I'm waiting for your promised feedback. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html