linux_dsm_epyc7002/drivers/misc/mei
Tomas Winkler 169d1338ed mei: make mei_write_message more readable
1. reduce hairy casting
2. replace open code with mei_count_empty_write_slots
4. include header size in check for overflow
3. use concise for loop instead of a while loop

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-06-20 16:41:38 -07:00
..
hw.h Staging: mei: move the mei code out of staging 2012-05-01 18:23:38 -04:00
init.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
interface.c mei: make mei_write_message more readable 2012-06-20 16:41:38 -07:00
interface.h mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
interrupt.c mei: check for error codes that mei_flow_ctrl_creds retuns 2012-06-20 16:41:38 -07:00
iorw.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
Kconfig Staging: mei: move the mei code out of staging 2012-05-01 18:23:38 -04:00
main.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
Makefile Staging: mei: move the mei code out of staging 2012-05-01 18:23:38 -04:00
mei_dev.h mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00
wd.c mei: export mei.h for the user space 2012-05-09 13:58:06 -07:00