summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAmit Cohen <amitc@mellanox.com>2020-09-03 16:41:45 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-03 12:12:05 -0700
commit02bed4e8b705284b593948676ebe1c6629dc5895 (patch)
tree6e44053d4ef11dc8bdb92c3ecb1b8e9111fd528f /net/unix/af_unix.c
parentad38d47b2f9b7f8247ae1527a66a5924a585ab5a (diff)
mlxsw: core_hwmon: Calculate MLXSW_HWMON_ATTR_COUNT more accurately
Currently the value of MLXSW_HWMON_ATTR_COUNT is calculated not really accurate. Add several defines to make the calculation clearer and easier to change. Calculate the precise high bound of number of attributes that may be needed. Signed-off-by: Amit Cohen <amitc@mellanox.com> Reviewed-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions