No description
  • C 96.9%
  • Assembly 0.9%
  • Rust 0.6%
  • Shell 0.6%
  • Python 0.5%
  • Other 0.3%
Find a file
Alex Elder 55f66a88db 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>
History 2014-12-02 14:35:33 -08:00
drivers/staging/greybus greybus: enforce non-zero operation type requirement 2014-12-02 14:35:33 -08:00