Re: amdgpu: misc ugliness and inconsistency

2022-07-26 Thread André Almeida
Hi Dan, Às 12:52 de 26/07/22, Dan Carpenter escreveu: > Hi AMD devs, > > I guess there was a big merge in linux-next the other day? Anyway, it > generated a lot of Smatch warnings. I reported some of them but there > is just a lot so I'm mass reporting these. > > Inconsistent NULL checking

amdgpu: misc ugliness and inconsistency

2022-07-26 Thread Dan Carpenter
Hi AMD devs, I guess there was a big merge in linux-next the other day? Anyway, it generated a lot of Smatch warnings. I reported some of them but there is just a lot so I'm mass reporting these. Inconsistent NULL checking can be harmless. Part of the function assumes that the pointer can be