Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cryptodev: fix device socket ID type
The socket ID field for a cryptodev device data was unsigned int. Due to recent changes to the default device socket ID, this caused an issue when the socket ID was unknown and set to -1. The device socket ID wrapped around to 255, and caused errors when allocating memory. Changing this field type to int fixes the issue, as it now takes the correct -1 value. Fixes: 7dcd73e ("drivers/bus: set device NUMA node to unknown by default") Cc: olivier.matz@6wind.com Signed-off-by: Ciara Power <ciara.power@intel.com> Signed-off-by: 0-day Robot <robot@bytheb.org>
- Loading branch information