commit | 3855eeec1a47cace93acd5ff89fb3c9bd593d307 | [log] [tgz] |
---|---|---|
author | Rui Miguel Silva <rmfrfs@gmail.com> | Fri Sep 30 19:24:32 2016 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 02 15:49:26 2016 +0200 |
tree | 30ffe5331c01654141bac4fb8eb3131939a17a08 | |
parent | 85a42dc8676c2ea15fb44715eef85a7a419254a0 [diff] |
staging: greybus: light: fix attributes allocation Fix allocation of attributes with the correct size, this also fix smatch warning: drivers/staging/greybus/light.c:293 channel_attr_groups_set() warn: double check that we're allocating correct size: 8 vs 16 Signed-off-by: Rui Miguel Silva <rmfrfs@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>