1. 28 Sep, 2021 2 commits
    • Mauro Carvalho Chehab's avatar
      ABI: sysfs-platform-dell-privacy-wmi: correct ABI entries · 26d98b9c
      Mauro Carvalho Chehab authored
      As described at Documentation/ABI/README doesn't contain an
      Attribute: field.
      
      The way sysfs ABI is supposed to work is that each different
      attribute would have a separate file. So, the right way to
      map this would be like:
      
      	/sys/.../dell_privacy_supported_type/mic_mute
      	/sys/.../dell_privacy_supported_type/camera_shutter
      
      	/sys/.../dell_privacy_current_state/mic_mute
      	/sys/.../dell_privacy_current_state/camera_shutter
      
      However, it seems to late to fix that, as this was merged already on
      Kernel 5.13, and a change right now would be a regression.
      
      So, instead, let's at least fix the entry to match the expected
      format.
      
      While here, fix the format of the contact, which is not a valid
      e-mail URL.
      
      This should also fix the current warnings produced when building the
      docs:
      
      	Documentation/ABI/testing/sysfs-platform-dell-privacy-wmi:35: WARNING: Unexpected indentation.
      	Documentation/ABI/testing/sysfs-platform-dell-privacy-wmi:2: WARNING: Unexpected indentation.
      
      Fixes: 8af9fa37 ("platform/x86: dell-privacy: Add support for Dell hardware privacy")
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
      Link: https://lore.kernel.org/r/42846621fdf2bf206feb114d06b14cbc47475fb5.1632740376.git.mchehab+huawei@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      26d98b9c
    • Mauro Carvalho Chehab's avatar
      scripts: get_abi.pl: create a valid ReST with duplicated tags · ff3777d0
      Mauro Carvalho Chehab authored
      As warned, /sys/bus/iio/devices/iio:deviceX/fault_ovuv is defined 2 times:
      
      	Warning: /sys/bus/iio/devices/iio:deviceX/fault_ovuv is defined 2 times:  ./Documentation/ABI/testing/sysfs-bus-iio-temperature-max31856:14  ./Documentation/ABI/testing/sysfs-bus-iio-temperature-max31865:0
      
      The logic with joins the two entries is just places the paragraph
      for the second entry after the previous one. That could cause more
      warnings, as the produced ReST may become invalid, as in the case of
      this specific symbol, which ends with a table:
      
      	/new_devel/v4l/docs/Documentation/ABI/testing/sysfs-bus-iio-temperature-max31856:2: WARNING: Malformed table.
      	No bottom table border found or no blank line after table bottom.
      
      	===  =======================================================
      	'1'  The input voltage is negative or greater than VDD.
      	'0'  The input voltage is positive and less than VDD (normal
      	     state).
      	===  =======================================================
      	/new_devel/v4l/docs/Documentation/ABI/testing/sysfs-bus-iio-temperature-max31856:2: WARNING: Blank line required after table.
      
      Address it by adding two blank lines before joining duplicated
      symbols.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
      Link: https://lore.kernel.org/r/4ad2e3a65f781f0f8d40bb75aa5a07aca80564d6.1632740376.git.mchehab+huawei@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      ff3777d0
  2. 23 Sep, 2021 8 commits
  3. 21 Sep, 2021 30 commits