Fix to return error code ECORE_INVAL instead of 0 when EQ elements is too large as done elsewhere in this function. Fixes: 22d07d939c3c ("net/qede/base: update") Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
Fix to return error code ECORE_INVAL instead of 0 when EQ elements is too large as done elsewhere in this function. Fixes: 22d07d939c3c ("net/qede/base: update") Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>