Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1271260pxv; Fri, 23 Jul 2021 04:26:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoG/T80qFKoMvfb6tk0uYZY0MZ3BH/3BiSgpVX58CHc7CYKFJn5xHBnRByoO5j7zsmTY0w X-Received: by 2002:a05:6638:144e:: with SMTP id l14mr3775910jad.69.1627039576918; Fri, 23 Jul 2021 04:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627039576; cv=none; d=google.com; s=arc-20160816; b=dIrxcI0Gs2FfvXkj2N/vIkD+KGaS/jSZ7b53wI7ih+pD2fMM8RpX9nMIpyNtNbdzeu TDa29hmoHXkiRv39viDKM4ldph32kO+OsI8WahdEX3p74uhd88oAufi1jFQsDUIHrb7N Gf7r6MRpwGmgX5yXWnEenBrN8I509v5rqpwegGlFS2dQKj4Sl6ol7aLDX/GqRneWLTJZ deGp1Q3HhcrEaww+a5G/38y0Kxc+R1jLR554ran+l2X89Ui+S5EuOt5FEzaSe8echJQi eVOFItB13E8JQR9/69TwlUEvP1sEIXMS+g/ArzRCjVRPP3eB4DnLqNla1ak6Fdyzo2lI sNDQ== 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=xS9EeQJKE82xivD+FsqdFH335Ef7VYaz/D3ftn0ztEo=; b=gPIB7mVG8ExZyihuV3PdYo5kWP4GRGxFAIb3rKfrx8lHzw9DJZZg0o/3Yhaz/9ozCd athfeVkg75nJ7qei9mvZWu2KDUruX3OPlTY7CN2rFyXYqHzg/5OS4DfDpONUeMIkBQb8 gDEn1wvAfDxGXSXUlCyH02GCGw0QLE6awpGuUGZmoLsgOwNgwjKyfqOsJc0D1hfI4VEl yiYQ8UsEvL9yStwZRRYBm1M1ZQlmLy5mwxMr0o/pT+mTi/oE79fr4wrkjl8SUlWCWP9Y +YwAZqIv/t6LQCEzXfgBM0x3+E/rF5Z5BEmGNU9bA8r4OKlHd1YI4nEXlADFKRrMvFP0 Zs/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="GUe/2Tba"; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n21si25224313jaj.97.2021.07.23.04.26.05; Fri, 23 Jul 2021 04:26:16 -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=@suse.com header.s=susede1 header.b="GUe/2Tba"; 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=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234372AbhGWKnf (ORCPT + 99 others); Fri, 23 Jul 2021 06:43:35 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:39268 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231703AbhGWKnd (ORCPT ); Fri, 23 Jul 2021 06:43:33 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 253511FF90; Fri, 23 Jul 2021 11:24:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1627039446; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=xS9EeQJKE82xivD+FsqdFH335Ef7VYaz/D3ftn0ztEo=; b=GUe/2Tbat5Gk+Kk4RclhlqdBkHE3JnOyO6dBrJ4So73MITNLYqc/Xym0Y0Ik932zftkb8V 9rojo/bCx7ME2G6JGqhCmBB2akdpCfFje+i9R+GCUyIVOXIcwfVDmnQ4ZNSBQ/6flpuq6Z BPJBgmDjHgf76HXJEfpUJQfq/q1p7tE= Received: from suse.cz (unknown [10.100.224.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id EEA67A3B8F; Fri, 23 Jul 2021 11:24:05 +0000 (UTC) Date: Fri, 23 Jul 2021 13:24:05 +0200 From: Petr Mladek To: Chris Down Cc: Stephen Rothwell , Jonathan Corbet , linux-doc@vger.kernel.org, Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: [PATCH] printk/documentation: Update printk()/_printk() documentation Message-ID: References: <20210720162423.75f61ce0@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 2021-07-23 13:09:43, Petr Mladek wrote: > The commit 337015573718b161 ("printk: Userspace format indexing support") > caused the following warning when building htmldocs: > > kernel/printk/printk.c:1: warning: 'printk' not found > > The problem is that printk() became a macro that is defined > in include/linux/printk.h instead of kernel/printk.c. The original > function was renamed to _printk(). > > Fixes: 337015573718b161 ("printk: Userspace format indexing support") > Reported-by: Stephen Rothwell > Signed-off-by: Petr Mladek > Link: https://lore.kernel.org/r/YPbBfdz9srIpI+bb@chrisdown.name > --- > This should do the trick. I do not longer see the warning. And I have just pushed it together with the other fixes into printk/linux.git, branch for-5.15-printk-index. Best Regards, Petr