Re: [PATCH v2] fbdev: platinumfb: add error checking for ioremap calls
Markus Elfring <[email protected]>
| Newsgroups | org.kernel.vger.linux-fbdev,org.freedesktop.lists.dri-devel,org.kernel.vger.kernel-janitors,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
… > Add proper error checking and use goto-based cleanup to avoid code > duplication across the error paths. * Please avoid duplicate source code also in the implementation of the function “platinumfb_probe” a bit more. https://elixir.bootlin.com/linux/v7.2-rc7/source/drivers/video/fbdev/platinumfb.c#L527-L634 * Under which circumstances will development interests grow for the application of scope-based resource management? … > --- > drivers/video/fbdev/platinumfb.c | 36 ++++++++++++++++++++++++++------ … Some contributors would appreciate patch version descriptions. https://lore.kernel.org/all/?q=%22This+looks+like+a+new+version+of+a+previously+submitted+patch%22 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.2-rc7#n310 Regards, Markus