commit | a04c640e5cf342a491afc06b0d931b7a046aa76b | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Mon May 11 21:16:34 2015 -0500 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Tue May 12 10:25:14 2015 -0700 |
tree | 6266ababd91670f7a6b06569fb18c4cdc21c9568 | |
parent | 64a54801ae806d482d72fce9583cce7409ec146c [diff] |
greybus: loopback: fix the type attribute check In gb_loopback_check_attr(), the value of gb->type is checked for validity. The only valid values are 0, 1, and 2. But the check allows the value 3. Fix that. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>