summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/imx51.c
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2024-05-06 18:02:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2024-05-07 09:33:28 +0200
commite70a514bce4bc84429c46fa378622024ac6c6863 (patch)
tree6355c8af9c33abc74f2da8bf381328d68d51825c /arch/arm/mach-imx/imx51.c
parent0efa116b9f48f90ea115014a39f66f478e33f7ea (diff)
downloadbarebox-master.tar.gz
barebox-master.tar.xz
pstore: return -ENOENT when file is missingHEADmaster
The expectation with stat(2) and open(2) is that they report -ENOENT if a file name doesn't exist. Return this instead of the unexpected -EINVAL error code. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20240506160246.2198975-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/imx51.c')
0 files changed, 0 insertions, 0 deletions