Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp590595pxb; Wed, 27 Jan 2021 16:03:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKHLZwY3j7+ZFrYBfwpOrbAb9sLMRQ5CdrcmJ/7ZIJlTrMvvEYT8iElSWjAOuJcyllT+41 X-Received: by 2002:a17:906:4d19:: with SMTP id r25mr8451968eju.148.1611792223587; Wed, 27 Jan 2021 16:03:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611792223; cv=none; d=google.com; s=arc-20160816; b=ibGGYuan/R3TI96OVZIKowwltTj9NE7O98Gsa28ll5BTDONgJPmYD0jXch/rfQa83c rgHCxXRUnfIAfM+ROjXe4E1R1Rraa7bkkXpHhfmLD6hqM8L5CvhaSpabUOBussVouyfv GqQwhkjrN2t3bmYu7Fry39TUK1AoiFrkjsy2kfVFN9/2AC5wTfQbexuTgRjsWqdMDANw SxN1gZaLUT28822hGTloV/lua8VzgdUIPvmGn2OaRahve/oTJDDVH3r1v5KdwqGLkCA9 TrCOz7xnYwDXK7D/1yCeD/ZgCfqq+XZvm11R9W9REMP6ySlLcWtuA6qcZ2Hhxpe54DhL kPdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ANLQqvMEt9lehg+wd5kC5p0vOECZPq/2s7hG+er95Z4=; b=yM7bZpg1XwfhoSwkR4Ff53WgsMfGf8zpvzuk8sLvT29rpXBGKrVQylsNrJAp/fjDkj XAUA18A2a0KKK7GRCmIWQAaXUjpuAr/kUO7hhyUzb2zx8+g6Dtq5gYB02v60SfTkNuh8 X+9dHGCkG45UesHNpsRKEd+ctNn8aOexAnh7ZcZ7JmtvvcN4XiojQTdOX0HKUEAA1IEL JAOCjy3tWYH+17hiD2Tixv+UVMryKh/ysVx0Qxbhl1s9dxkibiDQ5PY01EHauUR3QlfK HEOZawRiFpfU6StC/AccYye+pHhhno+rHIkjcsSDgne/nD+jS2yf2zaBYmXbVzq+Vi/R XNog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=choT2OBu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si1475375ejv.583.2021.01.27.16.03.19; Wed, 27 Jan 2021 16:03:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=choT2OBu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236230AbhA0Pgb (ORCPT + 99 others); Wed, 27 Jan 2021 10:36:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:56474 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235526AbhA0PDi (ORCPT ); Wed, 27 Jan 2021 10:03:38 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6EFE6207D0; Wed, 27 Jan 2021 15:02:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1611759758; bh=a6xIqEAeZUgI/gWd9D7ZmCNMvsD1qRiSI3ez+rb5KZc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=choT2OBuWlOG8kg05sEL8BUB29DZt19Nnaa4X8KY+sYFpz0tJ9bLHBh75H5vRMj4t PTX45RhDBDU/tS+F5IKP8GYt4lpyu0zo5/akga73hKAy8VgP9KyyFDm4dhSmsvZAdR i2woKDQKkpc9YbekJzh8aNTdmXz9JNTnpeFU2AUg= Date: Wed, 27 Jan 2021 16:02:35 +0100 From: Greg KH To: Dan Carpenter Cc: devel@driverdev.osuosl.org, linux-fbdev@vger.kernel.org, mh12gx2825@gmail.com, sbrivio@redhat.com, oliver.graute@kococonnector.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Joe Perches , carlis , Andy Whitcroft , colin.king@canonical.com, zhangxuezhi1@yulong.com Subject: Re: [PATCH v10] staging: fbtft: add tearing signal detect Message-ID: References: <1611754972-151016-1-git-send-email-zhangxuezhi3@gmail.com> <20210127220809.000026fb@gmail.com> <20210127221708.00002568@gmail.com> <20210127144946.GF2696@kadam> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210127144946.GF2696@kadam> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 27, 2021 at 05:49:46PM +0300, Dan Carpenter wrote: > On Wed, Jan 27, 2021 at 03:25:20PM +0100, Greg KH wrote: > > On Wed, Jan 27, 2021 at 10:17:08PM +0800, carlis wrote: > > > On Wed, 27 Jan 2021 15:13:05 +0100 > > > Greg KH wrote: > > > > > > > On Wed, Jan 27, 2021 at 10:08:09PM +0800, carlis wrote: > > > > > On Wed, 27 Jan 2021 14:51:55 +0100 > > > > > Greg KH wrote: > > > > > > > > > > > On Wed, Jan 27, 2021 at 09:42:52PM +0800, Carlis wrote: > > > > > > > From: zhangxuezhi > > > > > > > > > > > > > > For st7789v ic,when we need continuous full screen refresh, it > > > > > > > is best to wait for the TE signal arrive to avoid screen tearing > > > > > > > > > > > > > > Signed-off-by: zhangxuezhi > > > > > > > > > > > > Please slow down and wait at least a day between patch > > > > > > submissions, there is no rush here. > > > > > > > > > > > > And also, ALWAYS run scripts/checkpatch.pl on your submissions, so > > > > > > that you don't have a maintainer asking you about basic problems, > > > > > > like are in this current patch :( > > > > > > > > > > > > thanks, > > > > > > > > > > > > greg k-h > > > > > > > > > > hi, > > > > > This is my first patch contribution to Linux, so some of the rules > > > > > are not very clear .In addition, I can confirm that before sending > > > > > patch, I check it with checkPatch.py every time.Thank you very much > > > > > for your help > > > > > > > > Please read Documentation/SubmittingPatches which has a link to the > > > > checklist and other documentation you should read. > > > > > > > > And I doubt you are running checkpatch on your submission, as there is > > > > obvious coding style issues in it. If so, please provide the output > > > > as it must be broken :( > > > > > > > > thanks, > > > > > > > > greg k-h > > > hi, the patch v11 checkpatch.pl output is below: > > > > > > carlis@bf-rmsz-10:~/work/linux-kernel/linux$ ./scripts/checkpatch.pl > > > 0001-staging-fbtft-add-tearing-signal-detect.patch total: 0 errors, 0 > > > warnings, 0 checks, 176 lines checked > > > > > > 0001-staging-fbtft-add-tearing-signal-detect.patch has no obvious style > > > problems and is ready for submission. > > > > Wow, my apologies! > > > > Andy and Joe, there's something wrong here that is missing the fact that > > a line is being indented with spaces and not tabs in the patch > > at https://lore.kernel.org/r/1611754972-151016-1-git-send-email-zhangxuezhi3@gmail.com > > > > Any ideas what broke? > > > > /*Tearing Effect Line On*/ > > Comments are the exception to the "no spaces at the start of a line" > rule. I was expecting that the kbuild-bot would send a Smatch warning > for inconsistent indenting, but comments are not counted there either. > > I'm sort of surprised that we don't have checkpatch rule about the > missing space characters. It should be: "/* Tearing Effect Line On */". That was going to be my next question, lots of comments added in this patch don't have spaces... thanks, greg k-h