summaryrefslogtreecommitdiff
path: root/cookie.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-07-13 17:41:41 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-07-13 17:42:14 +0200
commite4465480c2fb8b23a0786e6d395597ea3d0d9888 (patch)
tree37564fd42c5a5a34e1788f61a8af52455827c310 /cookie.c
parent634fddf161d80503d0e1cef59272152611317a76 (diff)
pcap_io: Use iterator variable of correct type
array_size() returns size_t, thus make i size_t too to avoid a warning regarding comparison of signed/unsigned. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'cookie.c')
0 files changed, 0 insertions, 0 deletions
ead of -EAGAIN for the PING state. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Tested-by: David Lin <dtwlin@google.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> 2016-07-18greybus: greybus_protocols.h: convert __u32 to __le32Bryan O'Donoghue1-4/+4 All 32 bit declarations associated with data interchange to the greybus network need to be declared explicitly as little-endian since that is the byte order we use on the greybus network. struct gb_audio_topology is declaring its variables as u32. Fortunately this structure isn't currently used so we can do a conversion from u32 to __le32 without any ancillary code-churn. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> 2016-07-18greybus: greybus_protocols.h/es2: Ensure __le32 is used not u32Bryan O'Donoghue2-4/+8 There is a dangling u32 in es2/greybus_protocols.h that is only obvious when you try to compile up gbsim. We need to do a cpu_to_le32 and declare the 32-bit int in the header as __le32. This patch does that and splits out the assignment of the req->flags parameter to a temporary variable to allow for later printing. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Suggested-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> 2016-07-17greybus: camera: Update CSI config parametersJacopo Mondi