linux/drivers/staging/greybus
Johan Hovold 0150bd7f23 greybus: operation: make incomplete-message errors more informative
Include the operation id as well as the received and expected size
(from header) when reporting incomplete messages.

This information is useful when debugging communication errors.

Also invert the size test to match the error message and increase
readability.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
2015-03-30 15:13:01 +02:00
..
Documentation greybus: Move the es1_ap_desc.c file to Documentation directory 2015-01-14 21:10:31 -08:00
.gitignore greybus: gitignore: few more additions 2014-11-14 13:14:37 -08:00
Android.mk greybus: build: android: Fix script which locates .ko files and moves them into ramdisk 2015-01-27 14:49:04 -08:00
LICENSE greybus: Initial commit 2014-08-11 15:29:23 +08:00
Makefile greybus: hid: add HID class driver 2015-03-16 20:29:44 +01:00
README greybus: update README with info on how to build and contact me. 2014-08-11 15:44:51 +08:00
ap.c greybus: ap: clean up svc link management error path 2015-03-19 17:27:08 +01:00
battery.c greybus: remove unused version-response structs 2015-01-22 11:29:39 +08:00
bundle.c greybus: bundle: fix sleep-while-atomic in gb_bundle_destroy 2015-02-14 21:30:13 +08:00
bundle.h greybus: bundle: create GB_DEVICE_ID_BAD 2015-01-02 13:05:42 -08:00
connection.c greybus: connection: replace custom error function with dev_err 2015-03-19 17:28:19 +01:00
connection.h greybus: connection: replace custom error function with dev_err 2015-03-19 17:28:19 +01:00
core.c greybus: debugfs: we shouldn't care if debugfs is working or not 2015-03-30 15:01:56 +02:00
debugfs.c greybus: debugfs: we shouldn't care if debugfs is working or not 2015-03-30 15:01:56 +02:00
devices greybus: devices: endpoint description of device 2014-09-13 17:31:27 -07:00
es1.c greybus: get rid of {conceal,reveal}_urb() 2015-03-27 11:16:35 +01:00
es2.c greybus: es2: sync up with recent es1.c changes 2015-03-30 15:01:56 +02:00
gpb.c greybus: Greybus: Place module_init/exit() right after respective routines 2015-03-24 21:00:24 +01:00
gpio.c greybus: gpio: add error messages to callbacks not propagating errors 2015-03-19 17:30:38 +01:00
greybus.h greybus: debugfs: we shouldn't care if debugfs is working or not 2015-03-30 15:01:56 +02:00
greybus_id.h greybus: greybus_id.h: minor typo fixes 2014-12-19 15:36:32 -08:00
greybus_manifest.h greybus: bundle: s/gb_interface/gb_bundle/g 2014-12-13 13:37:49 -05:00
hid.c greybus: hid: don't support OUTPUT report over interrupt channel 2015-03-19 15:03:47 +01:00
i2c.c greybus: connection: replace custom error function with dev_err 2015-03-19 17:28:19 +01:00
interface.c greybus: interface: put module->dev on failures 2015-03-24 21:00:24 +01:00
interface.h greybus: interface: remove double underscore from fn name 2015-03-19 15:02:28 +01:00
kernel_ver.h greybus: kernel_ver.h: include <linux/kernel.h> to fix warning 2015-03-30 15:03:36 +02:00
manifest.c greybus: manifest: don't need to check for desc_size == 0 anymore 2015-03-24 20:59:03 +01:00
manifest.h greybus: interface: s/gb_interface_block/gb_interface/g 2014-12-19 15:35:44 -08:00
module.c greybus: module: get rid of global list of modules 2015-01-02 13:05:42 -08:00
module.h greybus: module: get rid of global list of modules 2015-01-02 13:05:42 -08:00
operation.c greybus: operation: make incomplete-message errors more informative 2015-03-30 15:13:01 +02:00
operation.h greybus: gb_operation: replace timeout workqueue 2015-01-16 11:09:45 -08:00
protocol.c greybus: clean up some small messes 2015-03-27 11:16:35 +01:00
protocol.h greybus: hid: add HID class driver 2015-03-16 20:29:44 +01:00
pwm.c greybus: pwm: fix config-request alignment 2015-03-17 22:34:43 +01:00
sdio.c greybus: Remove "-gb" suffix from .c files 2015-01-22 11:27:20 +08:00
spi.c greybus: connection: replace custom error function with dev_err 2015-03-19 17:28:19 +01:00
svc_msg.h greybus: interface: s/gb_interface_block/gb_interface/g 2014-12-19 15:35:44 -08:00
uart.c greybus: uart: remove packed-attribute from line-coding struct 2015-03-17 22:34:44 +01:00
usb.c greybus: usb: silence compiler warning 2015-03-19 17:27:08 +01:00
vibrator.c greybus: Greybus: Place module_init/exit() right after respective routines 2015-03-24 21:00:24 +01:00

README

Greybus kernel code

To build against the running kernel (odds are you don't want this):
	make

To build against a specific kernel source tree (odds are you want this):
	KERNELDIR=/home/some/random/place make

Any questions / concerns about this code base, please email:
	Greg Kroah-Hartman <greg@kroah.com>