Commit 36560ef
platform/x86: think-lmi: certificate support clean ups
Complete some clean-ups as reqested from the last review as follow-ups
- Remove certificate from structure as no need to store it any more
- Clean up return code handling
- Moved freeing of signature to before admin object released (issue
seen in testing when unloading module)
- Minor code flow improvements
Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Link: https://lore.kernel.org/r/20220321180624.4761-1-markpearson@lenovo.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>1 parent 3123109 commit 36560ef
2 files changed
Lines changed: 15 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
740 | 740 | | |
741 | 741 | | |
742 | 742 | | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | 743 | | |
750 | | - | |
751 | | - | |
752 | | - | |
| 744 | + | |
753 | 745 | | |
754 | 746 | | |
755 | 747 | | |
| |||
763 | 755 | | |
764 | 756 | | |
765 | 757 | | |
766 | | - | |
767 | | - | |
768 | 758 | | |
769 | | - | |
770 | | - | |
771 | | - | |
| 759 | + | |
772 | 760 | | |
773 | 761 | | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
774 | 768 | | |
775 | 769 | | |
776 | 770 | | |
| |||
792 | 786 | | |
793 | 787 | | |
794 | 788 | | |
795 | | - | |
796 | | - | |
| 789 | + | |
| 790 | + | |
797 | 791 | | |
798 | | - | |
799 | 792 | | |
800 | 793 | | |
801 | 794 | | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | 795 | | |
807 | | - | |
808 | | - | |
809 | | - | |
| 796 | + | |
810 | 797 | | |
811 | 798 | | |
812 | 799 | | |
| |||
1194 | 1181 | | |
1195 | 1182 | | |
1196 | 1183 | | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
1197 | 1188 | | |
1198 | 1189 | | |
1199 | 1190 | | |
| |||
1210 | 1201 | | |
1211 | 1202 | | |
1212 | 1203 | | |
1213 | | - | |
1214 | | - | |
1215 | | - | |
1216 | | - | |
1217 | | - | |
1218 | 1204 | | |
1219 | 1205 | | |
1220 | 1206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
| |||
0 commit comments