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=-5.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 08BDEC433B4 for ; Thu, 8 Apr 2021 10:39:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CCF8D61168 for ; Thu, 8 Apr 2021 10:39:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229837AbhDHKjQ (ORCPT ); Thu, 8 Apr 2021 06:39:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230501AbhDHKjH (ORCPT ); Thu, 8 Apr 2021 06:39:07 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A5C9C061761 for ; Thu, 8 Apr 2021 03:38:56 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id z24-20020a1cf4180000b029012463a9027fso964802wma.5 for ; Thu, 08 Apr 2021 03:38:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=eRaMcxz3zgFPYNGt7SjAbzHOcdHXj9ZgSC7Zn81PL2M=; b=DLhUR7rooHo2v1rKHmhVq8DM4VON7DuPXveOFVk80ZcGMyTsiP7rsIMtH1/nLDX8FP QmPygjaYOziMZBitOI3Uyq9WRsaAmG6l73GzWgAeeWb+/OUSbyHWQXaxyDD3R1bA4j5l u+DtvAa2DYQELE+PIl4jSGtSCwKK92mYNlzFo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=eRaMcxz3zgFPYNGt7SjAbzHOcdHXj9ZgSC7Zn81PL2M=; b=tGyEiyJspK4LHQyJmYaxHIVO/goIT9vVfBDZNhqHmkkdEx9hAqoxz5ODYMJOvLGzAS PRf5CKIvdi0J6G4b8z1Vz4izSHBcSyUwdkqauOpkq/Hr2Vhd1BPrr03Tvo7MIjMKvo6U rhgvM1iHenEkFrruBX2M5aOWziYIm60HcCtTNxKBGhRUrjFX9urPBHZTgYx6rZwb1hxY gm4I5Jo/tlYPG7zeaU3KUn6DPVfKjX2dMaJ4ZrDXhXlgQRm6//NKGImX+g/TnSRq3NVI ppSDzUJK5ofOLBqUhCcoN/aHUbayx0DvNYCjtaCiNZ5cr8KwaYDUTO7gQZVeXLeWJhKp udpA== X-Gm-Message-State: AOAM531K7tlrur91xrucBNwppfAS7i9nk8hAzkBCQRAmXFMqGll+us3y sKxC+5jqWNTgk7Wqcy+cSxDlNQ== X-Google-Smtp-Source: ABdhPJwAY40s7fwbqph5oDTyB7TSOu75px+R8zevxVJSWWfJPeejFa8vysnU4+SyKebV8pJS/9JSqA== X-Received: by 2002:a1c:254:: with SMTP id 81mr946479wmc.77.1617878334782; Thu, 08 Apr 2021 03:38:54 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id o14sm38073759wrh.88.2021.04.08.03.38.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Apr 2021 03:38:54 -0700 (PDT) Date: Thu, 8 Apr 2021 12:38:52 +0200 From: Daniel Vetter To: Imre Deak Cc: Stephen Rothwell , Daniel Vetter , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Intel Graphics , DRI , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build warning after merge of the drm-intel-fixes tree Message-ID: Mail-Followup-To: Imre Deak , Stephen Rothwell , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Intel Graphics , DRI , Linux Kernel Mailing List , Linux Next Mailing List References: <20210326195838.5ad4973b@canb.auug.org.au> <20210329090117.6b224931@canb.auug.org.au> <20210329182335.GE233691@ideak-desk.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210329182335.GE233691@ideak-desk.fi.intel.com> X-Operating-System: Linux phenom 5.7.0-1-amd64 Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Mon, Mar 29, 2021 at 09:23:35PM +0300, Imre Deak wrote: > Hi Stephen, > > thanks for the report. > > On Mon, Mar 29, 2021 at 09:01:17AM +1100, Stephen Rothwell wrote: > > Hi all, > > > > On Fri, 26 Mar 2021 19:58:38 +1100 Stephen Rothwell wrote: > > > > > > After merging the drm-intel-fixes tree, today's linux-next build > > > (htmldocs) produced this warning: > > > > > > Documentation/gpu/i915:22: /drivers/gpu/drm/i915/intel_runtime_pm.c:423: WARNING: Inline strong start-string without end-string. > > The problem seems to be the > > @ignore_usecount=true > > part in __intel_runtime_pm_get_if_active()'s docbook documentation. I > can't see the problem with it, it was meant as a reference to the > function parameter, granted I'm not sure what's the proper markup syntax > for this. > > I will follow up with the following change which suppresses the warning > and renders the html as expected unless someone can suggest a better > way: > > - * If @ignore_usecount=true, a reference will be acquired even if there is no > + * If @ignore_usecount is true, a reference will be acquired even if there is no Yeah you can't just use most pseudo-code in kerneldoc because it's interpreted as raw .rst. So would need some .rst quoting of some sorts to make it render correctly. Usually for pseudo-code I go with blockquotes (started with :: at the end of the previous line, plus indenting), that gives you also a nice fixed-width font and everything. Aside from the hyperlink stuff plain English works best in the text parts. -Daniel > > --Imre > > > > > > > Introduced by commit > > > > > > 8840e3bd981f ("drm/i915: Fix the GT fence revocation runtime PM logic") > > > > This warning now exists in Linus' tree. > > > > -- > > Cheers, > > Stephen Rothwell > > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch