Re: [PATCH v2] drivers/amd/pm: check the return value of amdgpu_bo_kmap

2022-09-30 Thread Alex Deucher
On Sat, Sep 24, 2022 at 6:20 PM Li Zhong wrote: > > amdgpu_bo_kmap() returns error when fails to map buffer object. Add the > error check and propagate the error. > > Signed-off-by: Li Zhong > --- > > v2: revise the compile error Applied. Thanks! > >

Re: [PATCH v2] drivers/amd/pm: check the return value of amdgpu_bo_kmap

2022-09-22 Thread Alex Deucher
Applied. Thanks! On Thu, Sep 22, 2022 at 2:49 AM Christian König wrote: > > Am 22.09.22 um 06:17 schrieb Li Zhong: > > amdgpu_bo_kmap() returns error when fails to map buffer object. Add the > > error check and propagate the error. > > > > Signed-off-by: Li Zhong > > We usually use "r" as

Re: [PATCH v2] drivers/amd/pm: check the return value of amdgpu_bo_kmap

2022-09-22 Thread Christian König
Am 22.09.22 um 06:17 schrieb Li Zhong: amdgpu_bo_kmap() returns error when fails to map buffer object. Add the error check and propagate the error. Signed-off-by: Li Zhong We usually use "r" as return and error variables, but that's just a nit. Reviewed-by: Christian König ---

RE: [PATCH v2] drivers/amd/pm: check the return value of amdgpu_bo_kmap

2022-09-21 Thread Quan, Evan
[AMD Official Use Only - General] Reviewed-by: Evan Quan > -Original Message- > From: Li Zhong > Sent: Thursday, September 22, 2022 12:18 PM > To: dri-devel@lists.freedesktop.org; amd-...@lists.freedesktop.org > Cc: jiapeng.ch...@linux.alibaba.com; Powell, Darren > ; Chen, Guchun ; >