Commit e9f45ef
s390/zcrypt: Locate ep11_domain_query_info onto the stack instead of kmalloc
Locate the relative small struct ep11_domain_query_info variable
onto the stack instead of kmalloc()/kfree().
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Link: https://lore.kernel.org/r/20250424133619.16495-18-freude@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>1 parent 9eb61e7 commit e9f45ef
1 file changed
Lines changed: 10 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
| 705 | + | |
710 | 706 | | |
711 | 707 | | |
712 | | - | |
| 708 | + | |
713 | 709 | | |
714 | 710 | | |
715 | 711 | | |
716 | 712 | | |
717 | 713 | | |
718 | 714 | | |
719 | | - | |
720 | | - | |
| 715 | + | |
| 716 | + | |
721 | 717 | | |
722 | | - | |
| 718 | + | |
723 | 719 | | |
724 | | - | |
725 | | - | |
| 720 | + | |
| 721 | + | |
726 | 722 | | |
727 | | - | |
728 | | - | |
| 723 | + | |
| 724 | + | |
729 | 725 | | |
730 | 726 | | |
731 | | - | |
| 727 | + | |
732 | 728 | | |
733 | 729 | | |
734 | | - | |
735 | 730 | | |
736 | 731 | | |
737 | 732 | | |
| |||
0 commit comments