On Wed, Apr 07, 2021 at 08:48:19PM +0800, weiyongjun (A) wrote: > > Fix to return a negative error code from the error handling > > case instead of 0, as done elsewhere in this function. > > > > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> > > Signed-off-by: Baisong Zhong <zhongbaisong@xxxxxxxxxx> > > --- > > arch/s390/kernel/uv.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/arch/s390/kernel/uv.c b/arch/s390/kernel/uv.c > > index cbfbeab57c3b..370f664580af 100644 > > --- a/arch/s390/kernel/uv.c > > +++ b/arch/s390/kernel/uv.c > > @@ -460,8 +460,10 @@ static int __init uv_info_init(void) > > goto out_kobj; > > > > uv_query_kset = kset_create_and_add("query", NULL, uv_kobj); > > - if (!uv_query_kset) > > + if (!uv_query_kset) { > > + rc = -ENOMEM; > > goto out_ind_files; > > + } > > Your patch is corrupted, please resend with correct format. Fixed up, and applied anyway. Thanks.