[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191107104633.GD2200@nanopsycho>
Date: Thu, 7 Nov 2019 11:46:33 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Wei Yongjun <weiyongjun1@...wei.com>
Cc: Jiri Pirko <jiri@...lanox.com>, Ido Schimmel <idosch@...lanox.com>,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] mlxsw: spectrum: Fix error return code in
mlxsw_sp_port_module_info_init()
Wed, Nov 06, 2019 at 03:52:31PM CET, weiyongjun1@...wei.com wrote:
>Fix to return negative error code -ENOMEM from the error handling
>case instead of 0, as done elsewhere in this function.
>
>Fixes: 4a7f970f1240 ("mlxsw: spectrum: Replace port_to_module array with array of structs")
>Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Reviewed-by: Jiri Pirko <jiri@...lanox.com>
Powered by blists - more mailing lists