diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2017-04-14 13:38:02 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-08 12:12:43 +0200 |
commit | 4d9a121dc9b3c0907bc8bc23dd5445cea1192fb3 (patch) | |
tree | 5687ce65a1ecaa1d4ebf46ede52f696c0cf3e0b7 /kernel/audit_watch.c | |
parent | fd2f070985ea0eefdd503efbb9a5b9275161b893 (diff) |
PCI: Make PCI_ROM_ADDRESS_MASK a 32-bit constant
commit 76dc52684d0f72971d9f6cc7d5ae198061b715bd upstream.
A 64-bit value is not needed since a PCI ROM address consists in 32 bits.
This fixes a clang warning about "implicit conversion from 'unsigned long'
to 'u32'".
Also remove now unnecessary casts to u32 from __pci_read_base() and
pci_std_update_resource().
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/audit_watch.c')
0 files changed, 0 insertions, 0 deletions