]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-attribute_group-const'
authorDavid S. Miller <davem@davemloft.net>
Tue, 18 Jul 2017 19:04:57 +0000 (12:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Jul 2017 19:04:57 +0000 (12:04 -0700)
commit5efaa5f941516b21b952435faddceac779aa1343
treeb08263a2400ca48cbaed292a7869ed6e2cc2c0d1
parentbc13e0d58bdba2a58e90fe6bba3f73b6e7c11c66
parenta28bdd91ccc70cfcf115ca6d82388b203ab351ed
Merge branch 'net-attribute_group-const'

Arvind Yadav says:

====================
constify net attribute_group structures.

attribute_group are not supposed to change at runtime. All functions
working with attribute_group provided by <linux/sysfs.h> work with const
attribute_group. So mark the non-const structs as const.
====================

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