Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1999738imu; Sat, 22 Dec 2018 09:50:27 -0800 (PST) X-Google-Smtp-Source: ALg8bN4JYEH8pj1uF6l4forJjCfGz9RNiFwIOC11hV12QD8joIjBOcGv0+2LMFAMD5YXeFwWYKYh X-Received: by 2002:a65:5286:: with SMTP id y6mr6833628pgp.439.1545501027694; Sat, 22 Dec 2018 09:50:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545501027; cv=none; d=google.com; s=arc-20160816; b=eK3/n69bBU5prprsCsHuFZ2jY12+LX2MTikQyEmm3n90yTpQ2ZjB+asVO+bZebFlHr cB+ubEY1k+GrfWFBSETRQUgVQCrGQVzwZ05yoCZD/OhbEsJcDvE+GRkGwo0ZVrkHRWez 7ZUiVXGtfn+7DGq+6Vot4xGnaYjyRb/97Hp+OhsxBjFfVvO34HD1m3/+me3piDFgQ5D1 AZICSujKZPC3Y7yWsZo4M9Uaq6TZpu6EuoS2fQUKD/tK9kCZfBn4GvdZwMOSKl5JsNeT XzBFsZsLMlNuP7dXPY+97eKicKxvjowRshDfvqOw/Cn6vc8Wxc0cIiW7PI+P3T9G+PPi +Ltw== 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=ZprxcC3Nf9PYXe28y47QoTL9qbeSUE/AL7kMqdhIXQQ=; b=BNe89LYrnPLXEcQxgxBy4nxUwXVpNLyaS9JLyfgtFUx3nu6XBk9bGVpU81A6q5NYdy yCKTpprnsZ7NgVqOFoouQE33+e0AAYbOVEn2vq04j9xQWNMNqL1k09frW1OsK1SGCmOT XDHfIFu2fu7UJppcMUOijSo2i6XB2+BVBvKL9w2tauhOSR18P24iYrW224eg6sx5aT1P 2E5V5RDC48dcYNtUgYFWF9GNd8pn0LnSAgHhfndYxYF8+/FSWk7ZVGJToKqjeEMtmBOc wHVvrGoSkh4LYdXmtCePo5boqz7iUVqIHHoWWBmlNxcgR16DrWqdS5azA+B9McmuSev8 /tlw== 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 o7si22774059pgg.118.2018.12.22.09.50.12; Sat, 22 Dec 2018 09:50:27 -0800 (PST) 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 S2390265AbeLUVIa (ORCPT + 99 others); Fri, 21 Dec 2018 16:08:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:33970 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388154AbeLUVI3 (ORCPT ); Fri, 21 Dec 2018 16:08:29 -0500 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (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 3021A21927; Fri, 21 Dec 2018 21:08:28 +0000 (UTC) Date: Fri, 21 Dec 2018 16:08:26 -0500 From: Steven Rostedt To: Andreas Schwab Cc: Joe Perches , Linus Torvalds , Linux List Kernel Mailing , Ingo Molnar , Andrew Morton , Namhyung Kim , Masami Hiramatsu , Tom Zanussi , Greg Kroah-Hartman Subject: Re: [for-next][PATCH 23/24] string.h: Add strncmp_prefix() helper macro Message-ID: <20181221160826.34c544e6@gandalf.local.home> In-Reply-To: <871s6ad2br.fsf@igel.home> References: <20181221175618.968519903@goodmis.org> <20181221175659.208858193@goodmis.org> <20181221144054.20bdeb33@gandalf.local.home> <20181221153526.5e6055ca@gandalf.local.home> <077eeb8b09baebe78822819b5f15d671b738a2b2.camel@perches.com> <20181221155435.38a9a221@gandalf.local.home> <871s6ad2br.fsf@igel.home> X-Mailer: Claws Mail 3.16.0 (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 Fri, 21 Dec 2018 21:58:32 +0100 Andreas Schwab wrote: > > Well, perhaps I can just remove the ending ones. I get paranoid with > > macro variables, and tend to over do it so that there's no question. > > Why not make it an inline function? Matters if that removes the strlen(const) optimization. I could try it and see what happens. -- Steve