From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A47E4C4320A for ; Fri, 23 Jul 2021 11:24:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8E81160E8E for ; Fri, 23 Jul 2021 11:24:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234306AbhGWKne (ORCPT ); Fri, 23 Jul 2021 06:43:34 -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-doc@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