Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp5044118pxb; Tue, 5 Oct 2021 16:22:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvLyiosyz4tDBMBhucoQvQnrotgwkEE9Au3LCPx+UFE3j3hXP3/ei5G2UDWZ7m1A2RCDkq X-Received: by 2002:a63:615:: with SMTP id 21mr12044175pgg.468.1633476150541; Tue, 05 Oct 2021 16:22:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633476150; cv=none; d=google.com; s=arc-20160816; b=ZlO01g8D4qjYeAdqryLqVdNOF1qU0/WLE5EHr0v44OkfitRQhLhOR3n961tYPNNyd6 iZ9RNo6r8bUQVwnUBQWbUxJjIPgwOFHqKLbsf6D6Qns+xzj6qisOGZttWRnTzXf3gbNl uea5DwLL5t3TR1wA3TlCe4/pGtM8CxIcFr1Wh9ovl1foxNjv7XsBHhGOFlexX72tpd6o 0yXB5YUuk+SRIOag42MFgafM5THiwoo44oRSKbzzrPjkWYYYN6nRU+LmJnP/01NFXNcr P57Xrwf3usi2o9uKiKC2XsPy8rm9ABfqOFD4KWqiDWC9UHONxyiJHo0q90/gOP+SylhC Wg/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=7HYDRpBjZRunBuQoOBqxVWoG/om5o9SHaDv8q4Svu4o=; b=YeqfvoHI5Dm6TCj4vy/rUFDilUG2w8eBFbg7OAzhz6oSejc72fHOvh2f3nEf+DnYGv JVuBw+YY4uJ//uJsRfGO5N8sGS0dM3RzkZJtCuT2zYwrPQ1+i38TZDbPhPoh4tk6HD2T DBOPuqnUK2K5oqaaQwwRd+MG4eJ5HkmCE13ZslU6D5BdC1wDrtj/RCkF2jtFrZvGZ1Iy pmFG35Er9vpZgy5Ic6GLFhmBPcvZeAHlriGuNB6P5p8app1weaw9PlE6Qtde0k72xVYO dCt0OgbBGAudkLQFeZ6BDDC0p82MNBLQ0tvpO1uCNmgHAgpeHitN9vYODR42iZi66F7l Vw6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=JIGAfSS9; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w63si20997261pgd.305.2021.10.05.16.22.16; Tue, 05 Oct 2021 16:22:30 -0700 (PDT) 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=@linux-foundation.org header.s=korg header.b=JIGAfSS9; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236953AbhJEXXO (ORCPT + 99 others); Tue, 5 Oct 2021 19:23:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:52308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236930AbhJEXXN (ORCPT ); Tue, 5 Oct 2021 19:23:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id EA1DA61184; Tue, 5 Oct 2021 23:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1633476082; bh=9flL971iZoTbwXwyj/25Snm0LlcXB5mdLnv3zf+UZfU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=JIGAfSS9rt3COVJVGMCeYB4lahP5/RM+Mz3nqICF0p/u23Tpclzm0Zg4ZUIsHiinJ SUp5+6tV8M7gydGP3ytNcYbSf7zEsKEYh0StIWydNgkAXFB3N6uvfKJjZr/YWUD6aS 7doTBTvDNXbXGSA+PUk/x6F38jmSViPXSpvWYF6g= Date: Tue, 5 Oct 2021 16:21:21 -0700 From: Andrew Morton To: Lucas De Marchi Cc: linux-kernel@vger.kernel.org, Andy Shevchenko Subject: Re: [PATCH] lib/string_helpers: add linux/string.h for strlen() Message-Id: <20211005162121.a9eb9b1af38f56566a4bafdb@linux-foundation.org> In-Reply-To: <20211005212634.3223113-1-lucas.demarchi@intel.com> References: <20211005212634.3223113-1-lucas.demarchi@intel.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 5 Oct 2021 14:26:34 -0700 Lucas De Marchi wrote: > linux/string_helpers.h uses strlen(), so include the correpondent > header. Otherwise we get a compilation error if it's not also included > by whoever included the helper. Is such a compilation error demonstrable in the current mainline kernel?