Christophe JAILLET
2016-Jul-13 05:08 UTC
[Nouveau] Error handling in drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c
Hi, in file 'drivers/gpu/drm/nouveau/nvkm/subdev/secboot/gm20b.c', error handling in 'gm20b_tegra_read_wpr()' seams to be broken. The code used is: mc = ioremap(TEGRA_MC_BASE, 0xd00); if (!mc) { nvkm_error(&sb->subdev, "..."); return PTR_ERR(mc); } so we always return '0', which means success. Best regards, CJ -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20160713/2026ff2d/attachment.html>
Maybe Matching Threads
- [PATCH] drm/nouveau/secboot/gm20b: Fix return value in case of error
- [PATCH -next] drm/nouveau/secboot/gm20b: fix the error return code in gm20b_secboot_tegra_read_wpr()
- [PATCH 03/11] drm/nouveau: secboot: Read WPR configuration from GPU registers
- [PATCH] nouveau/secboot/gm20b: initialize pointer in gm20b_secboot_new()
- [PATCH AUTOSEL 5.5 355/542] drm/nouveau/secboot/gm20b: initialize pointer in gm20b_secboot_new()