]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: cfi: Use common error handling code in two functions
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 10 Jun 2026 07:15:52 +0000 (09:15 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 11 Jun 2026 07:20:50 +0000 (09:20 +0200)
commitcf4ff717af69cfe2dff8ddb843dce36205cb3c40
tree2a7e8e1ad40258a6ca858507ecb3a209bf46fa0e
parent4fe97a54daddb221009964161fb362b2b930d657
mtd: cfi: Use common error handling code in two functions

Use additional labels so that a bit of exception handling can be better
reused at the end of two function implementations.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/chips/cfi_cmdset_0002.c
drivers/mtd/chips/cfi_cmdset_0020.c