OSDN Git Service

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)
commit1fe4085f90bca7001f3713c651b4c7368cac779a
tree1420ff4aef977d292eafab0e9b856b6dde6bd159
parent3fc364c0527494f322ad9504a39d39a6197edfdc
parenteac5f8a95ae39dd94af818f0f9fad5d46207ee33
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>