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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200922181126.3cae159a@canb.auug.org.au>
Date:   Tue, 22 Sep 2020 18:11:26 +1000
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc:     Linux Next Mailing List <linux-next@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: linux-next: build warning after merge of the pm tree

Hi all,

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

In file included from include/acpi/acpi.h:24,
                 from drivers/acpi/acpica/hwgpe.c:10:
drivers/acpi/acpica/hwgpe.c: In function 'acpi_hw_gpe_read':
include/acpi/actypes.h:501:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  501 | #define ACPI_CAST_PTR(t, p)             ((t *) (acpi_uintptr_t) (p))
      |                                                ^
drivers/acpi/acpica/acmacros.h:18:41: note: in expansion of macro 'ACPI_CAST_PTR'
   18 | #define ACPI_CAST8(ptr)                 ACPI_CAST_PTR (u8, (ptr))
      |                                         ^~~~~~~~~~~~~
drivers/acpi/acpica/acmacros.h:22:43: note: in expansion of macro 'ACPI_CAST8'
   22 | #define ACPI_GET8(ptr)                  (*ACPI_CAST8 (ptr))
      |                                           ^~~~~~~~~~
drivers/acpi/acpica/hwgpe.c:50:17: note: in expansion of macro 'ACPI_GET8'
   50 |   *value = (u64)ACPI_GET8(reg->address);
      |                 ^~~~~~~~~
drivers/acpi/acpica/hwgpe.c: In function 'acpi_hw_gpe_write':
include/acpi/actypes.h:501:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  501 | #define ACPI_CAST_PTR(t, p)             ((t *) (acpi_uintptr_t) (p))
      |                                                ^
drivers/acpi/acpica/acmacros.h:18:41: note: in expansion of macro 'ACPI_CAST_PTR'
   18 | #define ACPI_CAST8(ptr)                 ACPI_CAST_PTR (u8, (ptr))
      |                                         ^~~~~~~~~~~~~
drivers/acpi/acpica/acmacros.h:26:43: note: in expansion of macro 'ACPI_CAST8'
   26 | #define ACPI_SET8(ptr, val)             (*ACPI_CAST8 (ptr) = (u8) (val))
      |                                           ^~~~~~~~~~
drivers/acpi/acpica/hwgpe.c:85:3: note: in expansion of macro 'ACPI_SET8'
   85 |   ACPI_SET8(reg->address, value);
      |   ^~~~~~~~~

Introduced by commit

  7a8379eb41a4 ("ACPICA: Add support for using logical addresses of GPE blocks")

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ