diff options
author | Don Zickus <dzickus@redhat.com> | 2015-06-01 13:00:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-02 14:22:49 +0900 |
commit | 0274b5aec1b30f594e2e5975b3bbf672565a6dd7 (patch) | |
tree | 8038baa331b21d346b2b2a6efc6e460903b8c20f /drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c | |
parent | b32c4997c03d9d1fcfc1c6771f70d7526ffdbbe4 (diff) | |
download | blackbird-obmc-linux-0274b5aec1b30f594e2e5975b3bbf672565a6dd7.tar.gz blackbird-obmc-linux-0274b5aec1b30f594e2e5975b3bbf672565a6dd7.zip |
staging: unisys: Convert pending_msg_hdr to a pointer
In order for bus/dev_info structs to become public structs, one
element, pending_msg_hdr, needs to become opaque. This is to keep
all the internals of the controlvm struct private to the bus layer.
So a simple conversion of embedding the pending_msg_hdr struct into
a pointer is done. The rest of the patch is the fallout.
The rules are modified slightly. Instead of relying on the 'id' to be
CONTROLVM_INVALID to indicate invalid, just use the pointer set to NULL.
In addition, because bus/dev_info can be NULL and we still need to send
a
response, pass pending_msg_hdr to all 'responders' instead of bus/
That change causes some fallout in the success case. Instead of setting
state
bits and clearing info in the responders, do all that magic in the
responder
wrappers.
Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/msgbuf.c')
0 files changed, 0 insertions, 0 deletions