From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id EB7D910E0DB for ; Fri, 8 Sep 2023 17:39:50 +0000 (UTC) Message-ID: <0e66b320-d13c-da95-4f3a-852c17c654d9@linux.intel.com> Date: Fri, 8 Sep 2023 19:39:46 +0200 MIME-Version: 1.0 Content-Language: en-US To: Kamil Konieczny , igt-dev@lists.freedesktop.org, zbigniew.kempczynski@intel.com, lukasz.laguna@intel.com References: <20230908125454.2670405-1-marcin.bernatowicz@linux.intel.com> <20230908125454.2670405-5-marcin.bernatowicz@linux.intel.com> <20230908171021.4pchfq4fbwqa6jib@kamilkon-desk.igk.intel.com> From: "Bernatowicz, Marcin" In-Reply-To: <20230908171021.4pchfq4fbwqa6jib@kamilkon-desk.igk.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [igt-dev] [PATCH i-g-t v4 4/4] lib/xe_spin.c: fixed checkpatch issue List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: On 9/8/2023 7:10 PM, Kamil Konieczny wrote: > Hi Marcin, > > now checkpatch complains about subject of your change: > WARNING: A patch subject line should describe the change not the tool that found it > #4: > Subject: [PATCH i-g-t 4/4] lib/xe_spin.c: fixed checkpatch issue > > so I suggest other, like: fixed code style > > with that: > Reviewed-by: Kamil Konieczny > > Regards, > Kamil sorry for that, will send corrected v5 with added one missing r-b -- marcin > > On 2023-09-08 at 12:54:54 +0000, Marcin Bernatowicz wrote: >> fixed checkpatch reported error >> >> Signed-off-by: Marcin Bernatowicz >> --- >> lib/xe/xe_spin.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/lib/xe/xe_spin.c b/lib/xe/xe_spin.c >> index d8e2c07aa..f0d77aed3 100644 >> --- a/lib/xe/xe_spin.c >> +++ b/lib/xe/xe_spin.c >> @@ -165,7 +165,8 @@ bool xe_spin_started(struct xe_spin *spin) >> */ >> void xe_spin_wait_started(struct xe_spin *spin) >> { >> - while(!xe_spin_started(spin)); >> + while (!xe_spin_started(spin)) >> + ; >> } >> >> void xe_spin_end(struct xe_spin *spin) >> -- >> 2.30.2 >>