lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Thu, 8 Feb 2024 14:42:25 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: Mario Limonciello <mario.limonciello@....com>, "Rafael J. Wysocki"
 <rafael.j.wysocki@...el.com>, Linux Kernel Mailing List
 <linux-kernel@...r.kernel.org>, Linux Next Mailing List
 <linux-next@...r.kernel.org>
Subject: linux-next: build failure after merge of the pm tree

Hi all,

After merging the pm tree, today's linux-next build (i386 defconfig)
failed like this:

In file included from include/linux/i2c.h:13,
                 from include/uapi/linux/fb.h:6,
                 from include/linux/fb.h:7,
                 from include/linux/backlight.h:13,
                 from drivers/acpi/acpi_video.c:19:
drivers/acpi/acpi_video.c: In function 'acpi_video_device_EDID':
drivers/acpi/acpi_video.c:643:34: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'ssize_t' {aka 'int'} [-Werror=format=]
  643 |                                  "Invalid _DDC data for length %ld\n", length);
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  ~~~~~~
      |                                                                        |
      |                                                                        ssize_t {aka int}
include/linux/acpi.h:1224:56: note: in definition of macro 'acpi_handle_debug'
 1224 |                 acpi_handle_printk(KERN_DEBUG, handle, fmt, ##__VA_ARGS__); \
      |                                                        ^~~
drivers/acpi/acpi_video.c:643:66: note: format string is defined here
  643 |                                  "Invalid _DDC data for length %ld\n", length);
      |                                                                ~~^
      |                                                                  |
      |                                                                  long int
      |                                                                %d

Caused by commit

  9e9c41c069ce ("ACPI: video: Handle fetching EDID that is longer than 256 bytes")

Presumably it should be %zd.

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ