[PATCH] gpu: gma500: psb_drv: add missing unwind goto

2023-04-17 Thread Hongqi Chen
Smatch reports that missing unwind goto in psb_driver_load(). drivers/gpu/drm/gma500/psb_drv.c:350 psb_driver_load() warn: missing unwind goto? psb_driver_unload() and psb_driver_load() exist in correspondence, and psb_driver_unload() should be executed when the psb_do_init() fails to initialize

Re: [PATCH] gpu: gma500: psb_drv: add missing unwind goto

2023-04-16 Thread Dan Carpenter
On Mon, Apr 17, 2023 at 02:01:05PM +0800, Hongqi Chen wrote: > Smatch reports that missing unwind goto in psb_driver_load(). > drivers/gpu/drm/gma500/psb_drv.c:350 psb_driver_load() warn: missing > unwind goto? > > psb_driver_unload() and psb_driver_load() exist in correspondence, > and psb_drive