Closed pcolberg closed 2 months ago
This file is not compiled in the backport driver, but I am including the patch for completeness. The patch was needed to rebase the fpga-ofs-dev
branch onto Linux 6.12-rc1.
@bmuddebi suggests to use this opportunity and add the patch which stores the GUID as a string. I will still merge this PR for now, but submit the revised GUID patch after testing.
When MODULE_DEVICE_TABLE(dfl, ) is built on a host with a different endianness from the target architecture, it results in an incorrect MODULE_ALIAS(). Refer to commit ac96a15a0f0c ("modpost: fix ishtp MODULE_DEVICE_TABLE built on big-endian host") for details.
This resolves a build failure after commit a660deb0f1f6 ("modpost: detect endianness on run-time"), which fails to compile bswap() for the argument type guid_t since it is not __uint{16,32,64}_t.