commit | 55f66a88dbd718c2133ac759eee4ff51f516bf45 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Tue Dec 02 08:30:31 2014 -0600 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Tue Dec 02 14:35:33 2014 -0800 |
tree | edfc7885c7f61c84dadadcb2c988e498fb48dd35 | |
parent | 64ce39a3463776a6ccf6770f588a265bca2468ca [diff] |
greybus: enforce non-zero operation type requirement The operation type 0x00 is reserved as an explicitly invalid operation type in all protocols. Enforce this. Add a check for callers who erroneously have the RESPONSE message type flag set in the operation type passed in gb_operation_create(). Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>