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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3CC3EC433F5 for ; Thu, 24 Mar 2022 13:04:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242970AbiCXNGG (ORCPT ); Thu, 24 Mar 2022 09:06:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240451AbiCXNGF (ORCPT ); Thu, 24 Mar 2022 09:06:05 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0CC381D309 for ; Thu, 24 Mar 2022 06:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648127073; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HxPrUhuzt19uTx9FtmZNdKy0YYbrN6xElRt7MFKc2u4=; b=F2tgJxwQFhzRGAEtb4k5jvXPiRlYmm+I5Fdvy/Pk3NOPdhtvDJ9+DqLn5uTBhLpjr3ZP6J ss0gRl7ZCGHbgM5vA749DCWgetAjTktpLy3AZi/4fii2c4CkMXG9xj5EBUSmlgj4HxQ6Ak 8ySPWv1kvXmYT7hkout8klK4E85gQr8= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-526-oEoAa6jdNV6TjFHPMvdiGQ-1; Thu, 24 Mar 2022 09:04:32 -0400 X-MC-Unique: oEoAa6jdNV6TjFHPMvdiGQ-1 Received: by mail-ed1-f70.google.com with SMTP id n4-20020a5099c4000000b00418ed58d92fso3015613edb.0 for ; Thu, 24 Mar 2022 06:04:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:to:cc:references:content-language:in-reply-to :content-transfer-encoding; bh=HxPrUhuzt19uTx9FtmZNdKy0YYbrN6xElRt7MFKc2u4=; b=tIzzF3ueDs0Vlge3aSzl3/TXvBBjQBiDFhknq3G7exKwAjaqsQR+TSYmQ7SwoyHQEb RAscp1hJ4KsyQ6hJV2JwtWTJJU/pNMK5gcntIfc5rEqPYSqWoTlg69/L2/Q+dGDeNAuS E4GVwEgV490cXeAsyHkH8i5fKlm2lInSeSw0GMrz5uYJgboBvPCGwDDKlBN0wJ3VnPTJ LENeYs44QLae21eygr7IHbODKaekPLjnDt8pZaA+RlKXZJ57E0hdbP2QhJ75/IVbe69t uN78S/t7YagXk8OatY4jWSmyrNoYCqzLFYlZcrnGpIh+uKLsdsp56NlEf+advlhFzU3d 91qg== X-Gm-Message-State: AOAM533AsZ8rseakmcmFGJeIF3KHPfW+9iu3UtB1a4OyuOgMBKH9RbKy o3dcNSZ0VAC8nzAGR7Vcc25+Hpee61PtNIJgHNIDSr4ARV1cln1cag030BpArqod1vhUNKXq/G5 KW5ZidocjP0MEkIqnkux9Pg== X-Received: by 2002:a17:907:70cc:b0:6e0:1646:9123 with SMTP id yk12-20020a17090770cc00b006e016469123mr5537115ejb.329.1648127069876; Thu, 24 Mar 2022 06:04:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9mG1YV/Nxxur9iUPNhDYJQF2OMH9BNi3DfisIXyy0UXTE7U0Ir9X/t/kvNHmwS8S9IG4keg== X-Received: by 2002:a17:907:70cc:b0:6e0:1646:9123 with SMTP id yk12-20020a17090770cc00b006e016469123mr5537098ejb.329.1648127069696; Thu, 24 Mar 2022 06:04:29 -0700 (PDT) Received: from ?IPV6:2001:1c00:c1e:bf00:cdb2:2781:c55:5db0? (2001-1c00-0c1e-bf00-cdb2-2781-0c55-5db0.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:cdb2:2781:c55:5db0]) by smtp.gmail.com with ESMTPSA id 17-20020a170906059100b006cee1bceddasm1107911ejn.130.2022.03.24.06.04.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Mar 2022 06:04:29 -0700 (PDT) Message-ID: Date: Thu, 24 Mar 2022 14:04:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 From: Hans de Goede Subject: Re: linux-next: build warnings after merge of the drivers-x86 tree To: Stephen Rothwell Cc: Mark Gross , "David E. Box" , Linux Kernel Mailing List , Linux Next Mailing List , Jonathan Corbet , Mauro Carvalho Chehab References: <20220301201659.45ac94cd@canb.auug.org.au> <20220324183329.22c97ea1@canb.auug.org.au> <2f33bdce-a002-708a-dd65-7bfb6ebc4cd9@redhat.com> <20220324222241.42896e9e@canb.auug.org.au> Content-Language: en-US In-Reply-To: <20220324222241.42896e9e@canb.auug.org.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org Hi Stephen, On 3/24/22 12:22, Stephen Rothwell wrote: > Hi Hans, > > On Thu, 24 Mar 2022 08:39:19 +0100 Hans de Goede wrote: >> >> I replied to your original report on March 1st, but I never got a reply >> to my reply: >> >> """ >> Thank you for the report. >> >> So I just did: >> >> touch Documentation/ABI/testing/sysfs-driver-intel_sdsi >> make htmldocs &> log >> >> In a repo with drivers-x86/for-next checked out and checked the generated log files. >> But I'm not seeing these WARNINGs. >> >> Also 'find Documentation/output/ -name "*sdsi*"' does not output anything, >> is there anything special (maybe some extra utilities?) which I need to also enable >> building of htmldocs for the files in Documentation/ABI ? >> """ >> >> If someone can let me know how to reproduce these warnings I would be happy >> to fix them. > > Sorry about that. I am just doing what you are doing but with the > whole of linux-next (which I don't think would make a difference). One > possibility is that we are using different versions of the doco > software. > > I am using Sphinx version 4.3.2 (using Python 3). [hans@shalem ~]$ rpm -qf /usr/bin/sphinx-apidoc python3-sphinx-4.4.0-1.fc36.noarch I doubt this makes a difference though. So I did some digging and the trick for reproducing any ABI related warnings is to touch the .rst file which has the "kernel-abi" reST directive (1) for the ABI subdir you want to regenerate the ABI docs for. So in this case I did: touch Documentation/admin-guide/abi-testing.rst make htmldocs &> log And now I can see the warnings. I'll prepare a fix for this. Looking at Documentation/Makefile I also learned that you can also do this: scripts/get_abi.pl validate --dir Documentation/ABI Which results in a different set of warnings... Regards, Hans 1) Implemented in Documentation/sphinx/kernel_abi.py