ptp: ocp: 32-bit fixups for pci start address
authorJonathan Lemon <jonathan.lemon@gmail.com>
Thu, 19 May 2022 21:21:44 +0000 (14:21 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 May 2022 18:39:53 +0000 (11:39 -0700)
commit8119c9ee7854033c8aba11059bec4ddd146fd63e
treed0b9ed9351dd39dad2fc9fb56a07eb4dcea1c4e0
parent9029ac03f20a5999bc5627277c6cf008ab8e23ed
ptp: ocp: 32-bit fixups for pci start address

Use 'resource_size_t' instead of 'unsigned long' when computing the
pci start address, for the benefit of 32-bit platforms.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_ocp.c