lkml.org 
[lkml]   [2024]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3 6/7] staging: pi433: Add debugfs_remove in case of driver register fails.
From
I suggest to use the summary phrase “Call debugfs_remove() in case of
driver registration failure in pi433_init()” instead.


> debugfs resources were never cleaned in case of failure to register driver.

How do you think about to use a change description like the following?

Debugfs resources were not released after a call of
the function “spi_register_driver” failed.
Thus fix the exception handling accordingly.


Regards,
Markus

\
 
 \ /
  Last update: 2024-05-27 16:26    [W:0.086 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site