Skip to contentSkip to conversation

tee/tee_shm.c: Fix error handling path

PATCH Markus Elfring 2 participants 2 messages Sep 13, 2020 Kernel janitors

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

When shm->num_pages <= 0, we should avoid calling release_registered_pages() in error handling path.

* Would an imperative wording become helpful for the change description?

* I suggest to add the tag “Fixes” to the commit message.

Regards,
Markus

#1 lore raw
Quoted 7 lines · Markus Elfring
Quoted 3 lines

When shm->num_pages <= 0, we should avoid calling release_registered_pages() in error handling path.

* Would an imperative wording become helpful for the change description?

* I suggest to add the tag “Fixes” to the commit message.

Sure. Will address both in v2.

Quoted 3 lines

Regards,
Markus