Linux s390 Architecture development
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Rework pkey ioctl functions error pathes
@ 2026-07-03  9:46 Harald Freudenberger
  2026-07-03  9:46 ` [PATCH v2 1/1] s390/pkey: Rework " Harald Freudenberger
  0 siblings, 1 reply; 3+ messages in thread
From: Harald Freudenberger @ 2026-07-03  9:46 UTC (permalink / raw)
  To: dengler, fcallies; +Cc: hca, gor, agordeev, linux390-list, linux-s390

Slight rework for all the pkey ioctl functions, especially related to
the error paths with regard to free memory. This patch removes all
this duplicated code and introduces one code block at the end of the
functions which is jumped into via goto out or executed on regular
exit.

Changelog:
v1 - first version
v2 - just a rebase of the v1 patch as the original patch did not apply
     any more.

Harald Freudenberger (1):
  s390/pkey: Rework ioctl functions error pathes

 drivers/s390/crypto/pkey_api.c | 272 +++++++++++++++++----------------
 1 file changed, 143 insertions(+), 129 deletions(-)

--
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-03  9:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-03  9:46 [PATCH v2 0/1] Rework pkey ioctl functions error pathes Harald Freudenberger
2026-07-03  9:46 ` [PATCH v2 1/1] s390/pkey: Rework " Harald Freudenberger
2026-07-03  9:57   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox