Hi Jakub, Dave,

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


Parav Pandit (4):
  devlink: Do not hold devlink mutex when initializing devlink fields
  devlink: Avoid duplicate check for reload enabled flag
  devlink: Add comment for devlink instance lock
  devlink: Constify devlink instance pointer

 include/net/devlink.h | 4 +++-
 net/core/devlink.c    | 6 +++---
 2 files changed, 6 insertions(+), 4 deletions(-)

-- 
2.25.4

Reply via email to