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/dri-devel/attachments/20160713/2026ff2d/attachment-0001.html>

Reply via email to