Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6

Pull crypto fixes from Herbert Xu:
"This fixes the aesni setkey error and removes a couple of unnecessary
NULL checks in the Intel qat driver"

* git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
crypto: aesni - fix failing setkey for rfc4106-gcm-aesni
crypto: qat - Deletion of unnecessary checks before two function calls

+3 -6
+1 -1
arch/x86/crypto/aesni-intel_glue.c
··· 1537 1537 crypto_fpu_exit(); 1538 1538 } 1539 1539 1540 - module_init(aesni_init); 1540 + late_initcall(aesni_init); 1541 1541 module_exit(aesni_exit); 1542 1542 1543 1543 MODULE_DESCRIPTION("Rijndael (AES) Cipher Algorithm, Intel AES-NI instructions optimized");
+1 -4
drivers/crypto/qat/qat_common/adf_accel_engine.c
··· 88 88 89 89 qat_uclo_del_uof_obj(loader_data->fw_loader); 90 90 qat_hal_deinit(loader_data->fw_loader); 91 - 92 - if (loader_data->uof_fw) 93 - release_firmware(loader_data->uof_fw); 94 - 91 + release_firmware(loader_data->uof_fw); 95 92 loader_data->uof_fw = NULL; 96 93 loader_data->fw_loader = NULL; 97 94 }
+1 -1
drivers/crypto/qat/qat_common/adf_transport.c
··· 449 449 err: 450 450 for (i = 0; i < ADF_ETR_MAX_RINGS_PER_BANK; i++) { 451 451 ring = &bank->rings[i]; 452 - if (hw_data->tx_rings_mask & (1 << i) && ring->inflights) 452 + if (hw_data->tx_rings_mask & (1 << i)) 453 453 kfree(ring->inflights); 454 454 } 455 455 return -ENOMEM;