Re: [PATCH] drm/radeon/r100: enhance error handling in r100_cp_init_microcode

2024-05-27 Thread Zhouyi Zhou
Fix some error in my previous email On Tue, May 28, 2024 at 9:36 AM Zhouyi Zhou wrote: > > Thanks for reviewing the patch > > On Mon, May 27, 2024 at 3:58 PM Christian König > wrote: > > > > Am 27.05.24 um 03:20 schrieb Zhouyi Zhou: > > > In r100_cp_init_mi

Re: [PATCH] drm/radeon/r100: enhance error handling in r100_cp_init_microcode

2024-05-27 Thread Zhouyi Zhou
Thanks for reviewing the patch On Mon, May 27, 2024 at 3:58 PM Christian König wrote: > > Am 27.05.24 um 03:20 schrieb Zhouyi Zhou: > > In r100_cp_init_microcode, if rdev->family don't match any of > > if statement, fw_name will be NULL, which will cause > > g

[PATCH] drm/radeon/r100: enhance error handling in r100_cp_init_microcode

2024-05-26 Thread Zhouyi Zhou
dling in r100_cp_init_microcode, let r100_cp_init_microcode return with -EINVAL when none of chip families is matched. Signed-off-by: Zhouyi Zhou --- drivers/gpu/drm/radeon/r100.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/radeon/r100.c b/drivers/gpu/drm/radeon/r100

[PATCH linux-next] video: fbdev: fbmem: fix pointer reference to null device field

2022-02-10 Thread Zhouyi Zhou
In function do_remove_conflicting_framebuffers, if device is NULL, there will be null pointer reference. The patch add a check to the if expression. Signed-off-by: Zhouyi Zhou --- Dear Linux folks I discover this bug in the PowerPC VM provided by Open source lab of Oregon State University