Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7638601ybi; Thu, 1 Aug 2019 11:15:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrnfAkeRpM0EL0xZHPCqj7YyEsqx3oRO0Ybn6xU1sSHwtYkyPq9jKt4fqSPyutuH3J/ESx X-Received: by 2002:a65:6547:: with SMTP id a7mr99210300pgw.65.1564683317169; Thu, 01 Aug 2019 11:15:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564683317; cv=none; d=google.com; s=arc-20160816; b=YbqejYcVzC9EBc4S2hi27s/yp2o4sfudTF8Ng7k8yjwBACWdn4G8Go9vbuak8+oENz s2w+ivjWdFcHX9zYnSCpy4YJzzdN0qXr76XayrC9Uo2hsfkskofqyMmSOrktjbHxa/3w WjECgtq9SchmGeOATqYbOoph7TAhM07Reqy+pvwz5bIcfNYNXBJUeUNjrEnDmn4HzyAq o+6++7UUl5/DPehWld3FrrHD3pIBPdS+JiMxnn35fQFb8M1W8bgFXQUxIJdiLuiyhvF8 0W6fIRHL7h1SDaVrXwGxVHDkjrAINjIWv1IrO7fooTjPuTI94d5qmYMQ/O191I/b9U2u LXSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=0LdkzD3/ZG6hhEEC6BgX/j06u1mkFGBQF5JE3cGqfno=; b=LwqYwc0pU2AHfFM3rwlZRVLu+h75lkLDvWZkwSRoH2fSio1h4IOtyIr7wOBpy8sptl KUn9NnXNI96T/XhT8dkWZvRQVXdj7r5hlhbA4eY23y3VXqaScx6+FnitvgiD9rfUt+u0 IThBlsYFl1XgQ+oX3dhYWsaJmEjrRTYZiy9yc73IKUXrglgusX2CCwBg1Crp7+9cqht7 b9FqCKs28y6gYTmlQgdiczwSx9qFy5CXw/SYdXKWyCb8Zmx0U7qR4MC3zdvjwldVq6cO vaq4Iu2jZL/JgnWgPqxGK5Ud42EpHyl94fk5OPBd47DDW/t9s+l2mLyAof5ZzuaeXbWP HAuA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 189si8484537pgj.416.2019.08.01.11.15.01; Thu, 01 Aug 2019 11:15:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733078AbfHAQkk (ORCPT + 99 others); Thu, 1 Aug 2019 12:40:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:36910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732035AbfHAQkk (ORCPT ); Thu, 1 Aug 2019 12:40:40 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2D7BA20838; Thu, 1 Aug 2019 16:40:39 +0000 (UTC) Date: Thu, 1 Aug 2019 12:40:37 -0400 From: Steven Rostedt To: Joe Perches Cc: Chuhong Yuan , Petr Mladek , Sergey Senozhatsky , LKML Subject: Re: [PATCH 08/12] printk: Replace strncmp with str_has_prefix Message-ID: <20190801124037.11dcac71@gandalf.local.home> In-Reply-To: <917395fc42633b66abe3f713a9eef8edfdf7ee44.camel@perches.com> References: <20190729151505.9660-1-hslester96@gmail.com> <5dee05d6cb8498b3e636f5e8a62da673334cb5a9.camel@perches.com> <917395fc42633b66abe3f713a9eef8edfdf7ee44.camel@perches.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 01 Aug 2019 09:19:04 -0700 Joe Perches wrote: > > I find that checkpatch.pl forbids assignment in if condition. > > So this seems to be infeasible... > > checkpatch is a stupid script and doesn't forbid > anything. It's just a suggestion guide. > > Ignore checkpatch when you know better. And this is coming from the checkpatch.pl maintainer ;-) -- Steve