]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'devlink-small-improvements'
authorDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 23:14:58 +0000 (16:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jul 2020 23:14:58 +0000 (16:14 -0700)
commit6ac83da658aa418661b2ba3df6dde3f060afd8f3
tree1420ff4aef977d292eafab0e9b856b6dde6bd159
parentc65221a3c99233e866a9dc858429bcc8602b447b
parentcca988586557e94131502c08c15a2b8a96d247af
Merge branch 'devlink-small-improvements'

Parav Pandit says:

====================
devlink small improvements

This short series improves the devlink code for lock commment,
simplifying checks and keeping the scope of mutex lock for necessary
fields.

Patch summary:
Patch-1 Keep the devlink_mutex for only for necessary changes.
Patch-2 Avoids duplicate check for reload flag
Patch-3 Adds missing comment for the scope of devlink instance lock
Patch-4 Constify devlink instance pointer
====================

Signed-off-by: David S. Miller <davem@davemloft.net>