lkml.org 
[lkml]   [2020]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net: macb: fix an issue about leak related to system resources
From
Date
> A call of the function macb_init() can fail in the function
> fu540_c000_init. The related system resources were not released
> then. use devm_ioremap() to replace ioremap() for fix it.

How do you think about a wording variant like the following?

Subject:
[PATCH v2] net: macb: Use devm_ioremap() in fu540_c000_init()

Change description:
A call of the macb_init() function can fail here.
The corresponding system resources were not released then.
Thus replace a call of the ioremap() function by devm_ioremap().


Regards,
Markus

\
 
 \ /
  Last update: 2020-04-25 19:01    [W:0.095 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site