mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
staging: unisys: fix parameters to macro SPAR_VNIC_CHANNEL_OK_CLIENT
Remove the unused logCtx parameter and fix the CamelCase name: pChannel => ch Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
44bd648d28
commit
bdedd94ad5
2 changed files with 3 additions and 3 deletions
|
|
@ -65,8 +65,8 @@
|
|||
ULTRA_VHBA_CHANNEL_PROTOCOL_VERSIONID, \
|
||||
ULTRA_VHBA_CHANNEL_PROTOCOL_SIGNATURE))
|
||||
|
||||
#define SPAR_VNIC_CHANNEL_OK_CLIENT(pChannel, logCtx) \
|
||||
(spar_check_channel_client(pChannel, spar_vnic_channel_protocol_uuid, \
|
||||
#define SPAR_VNIC_CHANNEL_OK_CLIENT(ch) \
|
||||
(spar_check_channel_client(ch, spar_vnic_channel_protocol_uuid, \
|
||||
"vnic", MIN_IO_CHANNEL_SIZE, \
|
||||
ULTRA_VNIC_CHANNEL_PROTOCOL_VERSIONID, \
|
||||
ULTRA_VNIC_CHANNEL_PROTOCOL_SIGNATURE))
|
||||
|
|
|
|||
|
|
@ -476,7 +476,7 @@ create_device(struct controlvm_message *msg, char *buf)
|
|||
chanptr))->
|
||||
chtype);
|
||||
if (!SPAR_VNIC_CHANNEL_OK_CLIENT
|
||||
(dev->chanptr, NULL)) {
|
||||
(dev->chanptr)) {
|
||||
LOGERR("CONTROLVM_DEVICE_CREATE Failed: VNIC[CLIENT] dev %d chan invalid.",
|
||||
devNo);
|
||||
POSTCODE_LINUX_4
|
||||
|
|
|
|||
Loading…
Reference in a new issue