Re: [PATCH v2 1/2] drm/ofdrm: Convert PCI IDs to CPU endianness for comparing

2022-11-02 Thread Javier Martinez Canillas
On 10/28/22 14:22, Thomas Zimmermann wrote: > Properties of 32-bit integers are returned from the OF device tree > as type __be32. Convert PCI vendor and device IDs from __be32 to host > endianness before comparing them to constants. All relevant machines > are old, big-endian Macintosh systems; he

[PATCH v2 1/2] drm/ofdrm: Convert PCI IDs to CPU endianness for comparing

2022-10-28 Thread Thomas Zimmermann
Properties of 32-bit integers are returned from the OF device tree as type __be32. Convert PCI vendor and device IDs from __be32 to host endianness before comparing them to constants. All relevant machines are old, big-endian Macintosh systems; hence the bug never happened in practice. Fixes spars