aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorPawel Moll <[email protected]>2014-04-23 17:27:05 +0000
committerGuenter Roeck <[email protected]>2014-04-24 13:02:10 +0000
commitb2e5411ee26bff1deefd0b2c7beec9c133632e65 (patch)
treefca94d153e37e215cd54e223c5f37c3e60c8ef8a /lib/dump_stack.c
parenthwmon: (vexpress) Use legal hwmon device names (diff)
downloadkernel-b2e5411ee26bff1deefd0b2c7beec9c133632e65.tar.gz
kernel-b2e5411ee26bff1deefd0b2c7beec9c133632e65.zip
hwmon: (vexpress) Avoid creating non-existing attributes
The 'label' attribute was always created but returned -ENOENT if there is no label and such behaviour is undefined from libsensors' point of view. Fixed by providing is_visible method in the attributes group, so the attribute is not created at all when unnecessary. Reported-by: Guenter Roeck <[email protected]> Signed-off-by: Pawel Moll <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions