commit | e307bf11c5198dbc0c9de0694c3e85c681648df6 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <uwe@kleine-koenig.org> | Fri Feb 05 23:28:40 2021 +0100 |
committer | Dan Williams <dan.j.williams@intel.com> | Tue Feb 16 19:42:03 2021 -0800 |
tree | c57c89a6e402e3360c11e8f29208c78315983ec4 | |
parent | 8029968e2ae02361f376751459dc644b45970b40 [diff] |
device-dax: Fix error path in dax_driver_register The static variable match_always_count is supposed to track if there is a driver registered that has .match_always set. If driver_register() fails, the previous increment must be undone. Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Link: https://lore.kernel.org/r/20210205222842.34896-4-uwe@kleine-koenig.org Signed-off-by: Dan Williams <dan.j.williams@intel.com>