lkml.org 
[lkml]   [2020]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] i2c: cadence: Add error handling for a platform_get_irq() call in cdns_i2c_probe()
From
Date
> The driver initialization should be end immediately after found
> the platform_get_irq() function return an error.

I suggest to improve also this change description.
How do you think about a wording variant like the following?

Return an error code after a call of the function “platform_get_irq” failed.


Would you like to add the tag “Fixes” to the commit message?

Regards,
Markus

\
 
 \ /
  Last update: 2020-05-20 13:53    [W:0.149 / U:0.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site