Re: [PATCH] mm: fix: Uninitialized variable ret.

2021-01-05 Thread David Hildenbrand
On 30.12.20 07:59, YANG LI wrote: > The ret is being used but it isn't being initialized, > need to assign a value to it, like 0. > > Signed-off-by: YANG LI > Reported-by: Abaci > --- > mm/memcontrol.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/memcontrol.c b/m

Re: [PATCH] mm: fix: Uninitialized variable ret.

2020-12-29 Thread Muchun Song
YANG LI 于2020年12月30日周三 下午3:02写道: > > The ret is being used but it isn't being initialized, > need to assign a value to it, like 0. Hi Yang, I didn't see where it was used without initialized. Can you point that out to me? Thanks. > > Signed-off-by: YANG LI > Reported-by: Abaci > --- > mm/m

[PATCH] mm: fix: Uninitialized variable ret.

2020-12-29 Thread YANG LI
The ret is being used but it isn't being initialized, need to assign a value to it, like 0. Signed-off-by: YANG LI Reported-by: Abaci --- mm/memcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 605f671..15ba17d 100644 --- a/mm/