linux-stable/drivers/staging
Tim Sell addce19f58 staging: unisys: respond to msgs post device_create
Fix problem that prevents us from responding to any device message after
device_create.

By neglecting to NULL out pending_msg_hdr after the device_create response,
we were effectively preventing any subsequent messages to the device from
working, because device_epilog() will correctly bail out early if it sees
that pending_msg_hdr is still set non-NULL, as that is an indicator to mean
that an unanswered message is still outstanding.

This problem was discovered as part of testing IOVM service partition
recovery, because device_epilog() was in fact bailing out when it was
called from my_device_changestate(), which of course prevented us from
transitioning the device to the paused state.  However, the incorrect
behavior would occur for ANY subsequent command directed at the device,
not just for changestate.

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-07-14 18:34:58 -07:00
..
android staging: android: ion_chunk_heap.c: Fixed line over 80 characters 2015-07-14 15:50:54 -07:00
board staging: board: armadillo800eva: Board staging for sh_mobile_lcdc_fb 2015-06-17 21:42:52 -07:00
clocking-wizard
comedi staging: Comedi: comedi_fops: Fixed the return error code 2015-07-14 18:22:20 -07:00
dgap
dgnc staging: dgnc: free memory allocated 2015-06-18 21:15:17 -07:00
emxx_udc staging: emxx_udc: remove commented code 2015-06-15 21:56:37 -07:00
fbtft staging: fbtft: correct a typo in a comment 2015-06-13 14:50:11 -07:00
fsl-mc
ft1000 staging: ft1000-usb: Removed CVS keyword marker 2015-06-18 21:13:48 -07:00
fwserial
gdm72xx
gdm724x
goldfish
gs_fpgaboot
iio
lustre staging: lustre: Deletion of unnecessary checks before three function calls 2015-07-14 14:31:33 -07:00
media Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
mt29f_spinand
netlogic
nvec staging: nvec: remove duplicated const 2015-06-17 21:30:40 -07:00
octeon
octeon-usb
olpc_dcon
ozwpan staging: ozwpan: prevent a couple of underflows 2015-06-08 13:38:56 -07:00
panel Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
rtl8188eu staging: rtl8188eu: remove space before open square bracket '[' 2015-06-18 21:13:48 -07:00
rtl8192e Staging: rtl8192e: Timer setup using macro rather assignment 2015-06-17 21:38:23 -07:00
rtl8192u staging: rtl8192u: ieee80211: Fix incorrect type in assignment 2015-06-17 21:33:26 -07:00
rtl8712 staging: rtl8712: fix else after break or return warning 2015-06-13 14:45:51 -07:00
rtl8723au Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
rts5208 Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
skein
slicoss staging: slicoss: remove unused macro 2015-06-17 21:30:40 -07:00
sm7xxfb staging: sm7xxfb: fix camelcase 2015-06-17 21:44:30 -07:00
sm750fb Staging: sm750fb: ddk750_dvi.h: Fix brace coding style issue 2015-07-14 18:31:12 -07:00
speakup staging: speakup: use swap() in get_highlight_color() 2015-06-12 17:19:47 -07:00
ste_rmi4
unisys staging: unisys: respond to msgs post device_create 2015-07-14 18:34:58 -07:00
vme staging: vme_user: remove buf_unalloc helper 2015-06-13 14:46:38 -07:00
vt6655 Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
vt6656 Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
wilc1000 wilc1000: host_interface.c: global variables do not need to be explicitly initialized to 0 or NULL. 2015-07-06 19:33:51 -07:00
wlan-ng Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
xgifb
Kconfig
Makefile
staging.c