linux-next: build failure after merge of the pm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpdBS_iv3xjT.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux