aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorRakuram Eswaran <[email protected]>2025-10-23 14:54:32 +0000
committerUlf Hansson <[email protected]>2025-11-11 16:34:28 +0000
commit9e805625218b70d865fcee2105dbf835d473c074 (patch)
tree6deb19974e0470752a53458569f013e339e4ffe5 /lib/test_fortify/write_overflow-strlcpy-src.c
parentmmc: sdhci-of-dwcmshc: Change DLL_STRBIN_TAPNUM_DEFAULT to 0x4 (diff)
downloadkernel-9e805625218b70d865fcee2105dbf835d473c074.tar.gz
kernel-9e805625218b70d865fcee2105dbf835d473c074.zip
mmc: pxamci: Simplify pxamci_probe() error handling using devm APIs
This patch refactors pxamci_probe() to use devm-managed resource allocation (e.g. devm_dma_request_chan) and dev_err_probe() for improved readability and automatic cleanup on probe failure. It also removes redundant NULL assignments and manual resource release logic from pxamci_probe(), and eliminates the corresponding release calls from pxamci_remove(). Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected]/ Fixes: 58c40f3faf742c ("mmc: pxamci: Use devm_mmc_alloc_host() helper") Suggested-by: Uwe Kleine-König <[email protected]> Signed-off-by: Rakuram Eswaran <[email protected]> Reviewed-by: Khalid Aziz <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Cc: [email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions