Re: [PATCH -next] drm/i915: remove unreachable code

2023-05-31 Thread kernel test robot
/20230531021714.125078-1-yang.lee%40linux.alibaba.com patch subject: [PATCH -next] drm/i915: remove unreachable code config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20230601/202306010001.guxzycyb-...@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build

Re: [PATCH -next] drm/i915: remove unreachable code

2023-05-31 Thread kernel test robot
/20230531021714.125078-1-yang.lee%40linux.alibaba.com patch subject: [PATCH -next] drm/i915: remove unreachable code config: x86_64-defconfig (https://download.01.org/0day-ci/archive/20230531/202305312340.s0echdkb-...@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build

Re: [Intel-gfx] [PATCH -next] drm/i915: remove unreachable code

2023-05-31 Thread Andi Shyti
Hi Yang, On Wed, May 31, 2023 at 10:17:14AM +0800, Yang Li wrote: > The code after the return will not be executed, so remove them. > > Eliminate the following warning: > drivers/gpu/drm/i915/display/intel_color.c:1808 intel_color_prepare_commit() > warn: ignoring unreachable code. > >

[PATCH -next] drm/i915: remove unreachable code

2023-05-30 Thread Yang Li
The code after the return will not be executed, so remove them. Eliminate the following warning: drivers/gpu/drm/i915/display/intel_color.c:1808 intel_color_prepare_commit() warn: ignoring unreachable code. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5342