]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'devlink-param-type-string-fixes'
authorDavid S. Miller <davem@davemloft.net>
Wed, 10 Oct 2018 17:19:10 +0000 (10:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Oct 2018 17:19:10 +0000 (10:19 -0700)
commit7a57fb50c541bb32f3d0117fad657fb0771f8fb3
tree834c7d34a735b3be2621f897c76275bd6427f694
parent499dfd78111b7e4aa1d847b085507f72b4583d45
parentd1937996066446be5a95f90095e5322911a14d59
Merge branch 'devlink-param-type-string-fixes'

Moshe Shemesh says:

====================
devlink param type string fixes

This patchset fixes devlink param infrastructure for string param type.

The devlink param infrastructure doesn't handle copying the string data
correctly.  The first two patches fix it and the third patch adds helper
function to safely copy string value without exceeding
DEVLINK_PARAM_MAX_STRING_VALUE.
====================

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