Skip to content

Commit f9f94c9

Browse files
committed
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fixes from Herbert Xu: "Fix two regressions: - Potential boot failure due to missing cryptomgr on initramfs - Stack overflow in octeontx2" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: crypto: api - Move cryptomgr soft dependency into algapi crypto: octeontx2 - Avoid stack variable overflow
2 parents b42bc9a + c6ce9c5 commit f9f94c9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

crypto/algapi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,3 +1324,4 @@ module_exit(crypto_algapi_exit);
13241324

13251325
MODULE_LICENSE("GPL");
13261326
MODULE_DESCRIPTION("Cryptographic algorithms API");
1327+
MODULE_SOFTDEP("pre: cryptomgr");

crypto/api.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,4 +643,3 @@ EXPORT_SYMBOL_GPL(crypto_req_done);
643643

644644
MODULE_DESCRIPTION("Cryptographic core API");
645645
MODULE_LICENSE("GPL");
646-
MODULE_SOFTDEP("pre: cryptomgr");

drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1753,7 +1753,6 @@ void otx2_cpt_print_uc_dbg_info(struct otx2_cptpf_dev *cptpf)
17531753
char engs_info[2 * OTX2_CPT_NAME_LENGTH];
17541754
struct otx2_cpt_eng_grp_info *grp;
17551755
struct otx2_cpt_engs_rsvd *engs;
1756-
u32 mask[4];
17571756
int i, j;
17581757

17591758
pr_debug("Engine groups global info");
@@ -1785,6 +1784,8 @@ void otx2_cpt_print_uc_dbg_info(struct otx2_cptpf_dev *cptpf)
17851784
for (j = 0; j < OTX2_CPT_MAX_ETYPES_PER_GRP; j++) {
17861785
engs = &grp->engs[j];
17871786
if (engs->type) {
1787+
u32 mask[5] = { };
1788+
17881789
get_engs_info(grp, engs_info,
17891790
2 * OTX2_CPT_NAME_LENGTH, j);
17901791
pr_debug("Slot%d: %s", j, engs_info);

0 commit comments

Comments
 (0)