Bug 13771 - Emit WARN when removing rtc-cmos
Summary: Emit WARN when removing rtc-cmos
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Alexey Dobriyan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-14 14:47 UTC by Thadeu Lima de Souza Cascardo
Modified: 2009-11-15 17:17 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.31-rc2
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Thadeu Lima de Souza Cascardo 2009-07-14 14:47:22 UTC
When removing rtc-cmos, we get a WARN, because it tries to remove a driver it could not register successfully or did not try to register at all.

The patch below fixes the problem.

http://patchwork.kernel.org/patch/34089/
Comment 1 Alexey Dobriyan 2009-11-15 17:17:49 UTC
commit 659098141d02eb8e3545be8969d262e02d2f3f98
"rtc: mark if rtc-cmos drivers were successfully registered"

Note You need to log in before you can comment on or make changes to this bug.