Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 315dfc84 authored by Sameer Wadgaonkar's avatar Sameer Wadgaonkar Committed by Greg Kroah-Hartman
Browse files

staging: unisys: include: renamed function spar_check_channel in channel.h to...


staging: unisys: include: renamed function spar_check_channel in channel.h to match driver namespace

Renamed function spar_check_channel() to visor_check_channel().

Signed-off-by: default avatarSameer Wadgaonkar <sameer.wadgaonkar@unisys.com>
Signed-off-by: default avatarDavid Kershner <david.kershner@unisys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bac41a2f
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -204,7 +204,7 @@ struct signal_queue_header {
 * is used to pass the EFI_DIAG_CAPTURE_PROTOCOL needed to log messages.
 */
static inline int
spar_check_channel(struct channel_header *ch,
visor_check_channel(struct channel_header *ch,
		    uuid_le expected_uuid,
		    char *chname,
		    u64 expected_min_bytes,
+2 −2
Original line number Diff line number Diff line
@@ -51,13 +51,13 @@
#define ULTRA_VSWITCH_CHANNEL_PROTOCOL_VERSIONID 1

#define SPAR_VHBA_CHANNEL_OK_CLIENT(ch) \
	(spar_check_channel(ch, spar_vhba_channel_protocol_uuid, \
	(visor_check_channel(ch, spar_vhba_channel_protocol_uuid, \
			    "vhba", MIN_IO_CHANNEL_SIZE,	\
			    ULTRA_VHBA_CHANNEL_PROTOCOL_VERSIONID, \
			    ULTRA_VHBA_CHANNEL_PROTOCOL_SIGNATURE))

#define SPAR_VNIC_CHANNEL_OK_CLIENT(ch) \
	(spar_check_channel(ch, spar_vnic_channel_protocol_uuid, \
	(visor_check_channel(ch, spar_vnic_channel_protocol_uuid, \
			    "vnic", MIN_IO_CHANNEL_SIZE,	\
			    ULTRA_VNIC_CHANNEL_PROTOCOL_VERSIONID, \
			    ULTRA_VNIC_CHANNEL_PROTOCOL_SIGNATURE))
+6 −6
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@
#define VISOR_CONTROLVM_CHANNEL_VERSIONID 1

#define VISOR_CONTROLVM_CHANNEL_OK_CLIENT(ch) \
	(spar_check_channel(ch, \
	(visor_check_channel(ch, \
			     VISOR_CONTROLVM_CHANNEL_UUID, \
			     "controlvm", \
			     sizeof(struct visor_controlvm_channel), \
+6 −6
Original line number Diff line number Diff line
@@ -686,7 +686,7 @@ get_vbus_header_info(struct visorchannel *chan,
{
	int err;

	if (!spar_check_channel(visorchannel_get_header(chan),
	if (!visor_check_channel(visorchannel_get_header(chan),
				 visor_vbus_channel_uuid,
				 "vbus",
				 sizeof(struct visor_vbus_channel),