mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
The function blk_queue_max_hw_sectors() was removed in Linux v6.10 and so add a test to conftest to see if this function is present or not to allow the driver to build. The virtual-storage driver is currently broken for Linux v5.19+ kernel due to other incompatibilities with these newer kernels, but has been updated so that it still builds. Therefore, allow the driver to build for Linux v6.10 while the driver is fixed properly for these newer kernels. Bug 4311184 Bug 4593750 Change-Id: Ic4054c87acdf3c77f03ff94fbdde513d84fe229b Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3142216 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>