mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
In case dibs_loopback_init() fails, e.g. because of -ENOMEM, dibs_init() must unregister dibs_class. Otherwise dibs_class and /sys/class/dibs exist even though the functionality is not available. A retry to load the module fails with -EEXIST. Unregister dibs_class in the error path of dibs_init. Note that before commit |
||
|---|---|---|
| .. | ||
| dibs_loopback.c | ||
| dibs_loopback.h | ||
| dibs_main.c | ||
| Kconfig | ||
| Makefile | ||