mirror of
https://github.com/AuxXxilium/synology-wireguard.git
synced 2024-11-23 23:11:06 +07:00
Fix indentation
This commit is contained in:
parent
45c6e57a8a
commit
396ae7e4d8
@ -7,7 +7,7 @@
|
|||||||
- if (!dev->rtnl_link_ops || !dev->rtnl_link_ops->kind ||
|
- if (!dev->rtnl_link_ops || !dev->rtnl_link_ops->kind ||
|
||||||
- strcmp(dev->rtnl_link_ops->kind, KBUILD_MODNAME)) {
|
- strcmp(dev->rtnl_link_ops->kind, KBUILD_MODNAME)) {
|
||||||
+ if (!dev->dev.type || !dev->dev.type->name ||
|
+ if (!dev->dev.type || !dev->dev.type->name ||
|
||||||
+ strcmp(dev->dev.type->name, KBUILD_MODNAME)) {
|
+ strcmp(dev->dev.type->name, KBUILD_MODNAME)) {
|
||||||
dev_put(dev);
|
dev_put(dev);
|
||||||
return ERR_PTR(-EOPNOTSUPP);
|
return ERR_PTR(-EOPNOTSUPP);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user