Thread (4 messages) 4 messages, 3 authors, 2026-03-27

Re: [PATCH 2/2] crypto: stm32 - use list_first_entry_or_null to simplify cryp_find_dev

From: Kees Cook <kees@kernel.org>
Date: 2026-03-20 18:26:00
Also in: linux-crypto, lkml

On Fri, Mar 20, 2026 at 09:49:14AM +0100, Thorsten Blum wrote:
Use list_first_entry_or_null() to simplify stm32_cryp_find_dev() and
remove the now-unused local variable 'struct stm32_cryp *tmp'.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Kees Cook <kees@kernel.org>

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help