Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1409405pxb; Sun, 17 Jan 2021 07:53:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnYZJofYbBrYzELwDbR8dig9DM8tdZcLDcsE+4a2hYkTa8OfrrFL+nC/cJL+wuUMDYTQnj X-Received: by 2002:a17:907:16a2:: with SMTP id hc34mr15067207ejc.9.1610898832513; Sun, 17 Jan 2021 07:53:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610898832; cv=none; d=google.com; s=arc-20160816; b=VBLCZETjfOzQa2/323tWzxhqqiEbInJaNM86ct7Fsw0KlWRgi4FKiHmKgqBxPnb5BE 9Hb3BlV9MGkVn0C5nVZIkt1H9t9+duzVc8otzq5PM+o+I7osrZUsc4LeY+juep2gF/eo /tlI9e1P2LaUCUQ25kVpVx0dvgZyHNW17AQo1AM/JTeZMIa7yHYBG8DJFZ8f4l6wkEJe CAitl8Il/1r+ZaUqRKDvMqiDh4xuicJg+KaD2aguSjK2NgYCdlK6fLAzdCvnL1mJ5swW OpLLKQci+q/aR+G99wmpQpqwmq67mIiLhtxLg6hMWPLs1oLgJXfRkXiREKBbRSwZHhDI HFvw== 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; bh=Ty3IrlMoELLBzNgZgwj5dv3CprzqBc44/6jvAv2WEWE=; b=VFv/d9Uz4wC9cU+SUN6NXV+7NrOtOUEu2F5mGP0BcHqsxcxta8OPnMOwQjzXP0s4fY /Xm6f02Jff0BDjMXvIdO9BjZ8hQ7TpK57IAyg6k1GFNyNmQPG7qpHD+EJuZUlLcOhuzI soe9yUqdZjZzpIEZ7mKIUUGTv0CMxwB07jQkShNKsaIr7rk5dBPEmPscoH78UlWXg091 RfKoFiTgO0Vc9C9dQfWUPo3oRsH7zhtUFl4KXRcRS1B1+JsAawjOCz8T8indtoiuJ70Q SdI4hdbbQ1S+ybhq4s/l797Cz/yg6oQBPH+jR1xj/5wstTth+5urKjrqc0WC/jRIYVl7 +sNA== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b24si1228408ejp.190.2021.01.17.07.53.28; Sun, 17 Jan 2021 07:53:52 -0800 (PST) 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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729380AbhAQPnG (ORCPT + 99 others); Sun, 17 Jan 2021 10:43:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:49128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728676AbhAQPnD (ORCPT ); Sun, 17 Jan 2021 10:43:03 -0500 Received: from archlinux (cpc108967-cmbg20-2-0-cust86.5-4.cable.virginm.net [81.101.6.87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1266B2251F; Sun, 17 Jan 2021 15:42:20 +0000 (UTC) Date: Sun, 17 Jan 2021 15:42:18 +0000 From: Jonathan Cameron To: Jonathan Cameron Cc: Mauro Carvalho Chehab , Lukas Bulwahn , , , , linux-iio@vger.kernel.org, Fabrice Gasnier , Benjamin Gaignard , William Breathitt Gray Subject: Re: [PATCH 00/10] Fix documentation warnings at linux-next Message-ID: <20210117154218.634dd5fa@archlinux> In-Reply-To: <20210115134720.000011f9@Huawei.com> References: <20210115104947.71d99e87@coco.lan> <20210115134720.000011f9@Huawei.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; 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 Fri, 15 Jan 2021 13:47:20 +0000 Jonathan Cameron wrote: > On Fri, 15 Jan 2021 10:49:47 +0100 > Mauro Carvalho Chehab wrote: > > > Hi Lukas, > > > > Em Fri, 15 Jan 2021 07:12:38 +0100 > > Lukas Bulwahn escreveu: > > > > > [reduced the recipient list to the main responsible ones and list] > > > > > > Hi Mauro, hi Jonathan, > > > > > > We both, Mauro and I, have been submitting patches to address the > > > documentation warnings on linux-next. If it is okay with you, Mauro, I > > > would like to take responsibility for the task to send out the patches > > > to address all warnings on linux-next in make htmldocs and follow up > > > with all the discussions. I can also provide a short weekly summary > > > (probably always on Friday) on what is pending where and what I could > > > not resolve by myself. > > > > > > Is that okay for you? > > > > > > If at some point I do not have the time to take care anymore, I will > > > let you know. > > > > Yeah, sure! > > > > Anyway, after applying the patches I sent this week, the warnings > > I'm getting are all due to the validation scripts I wrote. So, if > > everything gets merged (either yours or my version), we'll have zero > > Sphinx/kernel-doc warnings again. > > > > The script-validation warnings are: > > > > 1. Broken cross references > > -------------------------- > > > > $ scripts/documentation-file-ref-check > > Warning: Documentation/arm/booting.rst references a file that doesn't exist: Documentation/devicetree/booting-without-of.rst > > Warning: Documentation/devicetree/bindings/hwmon/ntc_thermistor.txt references a file that doesn't exist: Documentation/devicetree/bindings/iio/iio-bindings.txt > > Warning: Documentation/devicetree/bindings/input/adc-joystick.yaml references a file that doesn't exist: Documentation/devicetree/bindings/iio/iio-bindings.txt > > Warning: Documentation/devicetree/bindings/power/supply/da9150-charger.txt references a file that doesn't exist: Documentation/devicetree/bindings/iio/iio-bindings.txt > > Warning: Documentation/devicetree/bindings/regulator/rohm,bd9576-regulator.yaml references a file that doesn't exist: Documentation/devicetree/bindings/mfd/rohm,bd9576-pmic.yaml > > Warning: Documentation/translations/zh_CN/arm/Booting references a file that doesn't exist: Documentation/devicetree/booting-without-of.rst > > Warning: Documentation/virt/kvm/vcpu-requests.rst references a file that doesn't exist: Documentation/core-api/atomic_ops.rst > > Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/pinctrl/toshiba,tmpv7700-pinctrl.yaml > > Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/misc/hisilicon-hikey-usb.yaml > > Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/display/intel,kmb_display.yaml > > Warning: MAINTAINERS references a file that doesn't exist: Documentation/devicetree/bindings/media/i2c/ov2680.yaml > > Warning: include/linux/rculist_nulls.h references a file that doesn't exist: Documentation/core-api/atomic_ops.rst > > Warning: tools/memory-model/Documentation/simple.txt references a file that doesn't exist: Documentation/core-api/atomic_ops.rst > > > > It sounds that part of the above is due to DT patches that weren't > > merged yet, but there are a few others that can be solved, but may > > require discussions with some Kernel developers/maintainers. > > > > 2. Duplicated ABI definitions > > ----------------------------- > > > > $ scripts/get_abi.pl validate > > Warning: /sys/bus/iio/devices/iio:deviceX/in_accel_x_calibbias is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-icm42600:0 ./Documentation/ABI/testing/sysfs-bus-iio:394 > > Warning: /sys/bus/iio/devices/iio:deviceX/in_accel_y_calibbias is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-icm42600:1 ./Documentation/ABI/testing/sysfs-bus-iio:395 > > Warning: /sys/bus/iio/devices/iio:deviceX/in_accel_z_calibbias is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-icm42600:2 ./Documentation/ABI/testing/sysfs-bus-iio:396 > > Warning: /sys/bus/iio/devices/iio:deviceX/in_anglvel_x_calibbias is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-icm42600:3 ./Documentation/ABI/testing/sysfs-bus-iio:397 > > Warning: /sys/bus/iio/devices/iio:deviceX/in_anglvel_y_calibbias is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-icm42600:4 ./Documentation/ABI/testing/sysfs-bus-iio:398 > > Warning: /sys/bus/iio/devices/iio:deviceX/in_anglvel_z_calibbias is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-icm42600:5 ./Documentation/ABI/testing/sysfs-bus-iio:399 > > Warning: /sys/bus/iio/devices/iio:deviceX/in_count0_preset is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-timer-stm32:100 ./Documentation/ABI/testing/sysfs-bus-iio-lptimer-stm32:0 > > Warning: /sys/bus/iio/devices/iio:deviceX/in_count_quadrature_mode_available is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-counter-104-quad-8:2 ./Documentation/ABI/testing/sysfs-bus-iio-lptimer-stm32:8 > > Warning: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_frequency is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4371:0 ./Documentation/ABI/testing/sysfs-bus-iio:599 > > Warning: /sys/bus/iio/devices/iio:deviceX/out_altvoltageY_powerdown is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-frequency-adf4371:36 ./Documentation/ABI/testing/sysfs-bus-iio:588 > > Warning: /sys/bus/iio/devices/iio:deviceX/out_currentY_raw is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-light-lm3533-als:43 ./Documentation/ABI/testing/sysfs-bus-iio-health-afe440x:38 > > Warning: /sys/bus/iio/devices/iio:deviceX/out_current_heater_raw is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-humidity-hdc2010:0 ./Documentation/ABI/testing/sysfs-bus-iio-humidity-hdc100x:0 > > Warning: /sys/bus/iio/devices/iio:deviceX/out_current_heater_raw_available is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-humidity-hdc2010:1 ./Documentation/ABI/testing/sysfs-bus-iio-humidity-hdc100x:1 > > Warning: /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-distance-srf08:0 ./Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935:8 > > Warning: /sys/bus/iio/devices/triggerX/sampling_frequency is defined 2 times: ./Documentation/ABI/testing/sysfs-bus-iio-timer-stm32:92 ./Documentation/ABI/testing/sysfs-bus-iio:45 > > Warning: /sys/class/backlight//l1_daylight_max is defined 2 times: ./Documentation/ABI/testing/sysfs-class-backlight-adp8860:12 ./Documentation/ABI/testing/sysfs-class-backlight-driver-adp8870:4 > > Warning: /sys/class/leds//repeat is defined 2 times: ./Documentation/ABI/testing/sysfs-class-led-trigger-pattern:28 ./Documentation/ABI/testing/sysfs-class-led-driver-el15203000:0 > > Warning: /sys/kernel/iommu_groups/reserved_regions is defined 2 times: ./Documentation/ABI/testing/sysfs-kernel-iommu_groups:15 ./Documentation/ABI/testing/sysfs-kernel-iommu_groups:27 > > > > Perhaps you could check with Jonathan Cameron some strategy to address > > the IIO warnings. > > I'm being a bit rubbish on those ones. All need a bit of thought... > > I'll try to kill off a few of them this weekend as *touch wood* my > review queue is looking fairly short. As I mentioned in the cover letter for the series I've just sent out, I ran into a bit of an understanding gap around the two counter cases. This isn't helped by the fact it is at least partly deprecated ABI given the counter subsystem has much richer ABI for these types of devices. @Fabrice, Benjamin and William. What do we do about that one? Thanks, Jonathan > > Jonathan > > > > > Thanks, > > Mauro >