All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Kershner <david.kershner@unisys.com>
To: gregkh@linuxfoundation.org,
	driverdev-devel@linuxdriverproject.org,
	sparmaintainer@unisys.com, jes.sorensen@redhat.com
Subject: [PATCH 03/13] staging: unisys: visorbus: controlvmchannel.h fix spacing
Date: Tue, 4 Oct 2016 10:16:41 -0400	[thread overview]
Message-ID: <1475590611-18117-4-git-send-email-david.kershner@unisys.com> (raw)
In-Reply-To: <1475590611-18117-1-git-send-email-david.kershner@unisys.com>

From: Erik Arfvidson <erik.arfvidson@unisys.com>

This patch fixes space and tab aligned comments in
controlvmchannel.h.

Signed-off-by: Erik Arfvidson <erik.arfvidson@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
---
 drivers/staging/unisys/visorbus/controlvmchannel.h | 42 +++++++++++-----------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/drivers/staging/unisys/visorbus/controlvmchannel.h b/drivers/staging/unisys/visorbus/controlvmchannel.h
index b904376..9599d80 100644
--- a/drivers/staging/unisys/visorbus/controlvmchannel.h
+++ b/drivers/staging/unisys/visorbus/controlvmchannel.h
@@ -33,7 +33,7 @@
  * software.  Note that you can usually add fields to the END of the
  * channel struct withOUT needing to increment this.
  */
-#define ULTRA_CONTROLVM_CHANNEL_PROTOCOL_VERSIONID  1
+#define ULTRA_CONTROLVM_CHANNEL_PROTOCOL_VERSIONID 1
 
 #define SPAR_CONTROLVM_CHANNEL_OK_CLIENT(ch)           \
 	spar_check_channel_client(ch, \
@@ -44,13 +44,13 @@
 		ULTRA_CONTROLVM_CHANNEL_PROTOCOL_SIGNATURE)
 
 /* Defines for various channel queues */
-#define CONTROLVM_QUEUE_REQUEST		0
-#define CONTROLVM_QUEUE_RESPONSE	1
-#define CONTROLVM_QUEUE_EVENT		2
-#define CONTROLVM_QUEUE_ACK		3
+#define CONTROLVM_QUEUE_REQUEST 0
+#define CONTROLVM_QUEUE_RESPONSE 1
+#define CONTROLVM_QUEUE_EVENT 2
+#define CONTROLVM_QUEUE_ACK 3
 
 /* Max num of messages stored during IOVM creation to be reused after crash */
-#define CONTROLVM_CRASHMSG_MAX		2
+#define CONTROLVM_CRASHMSG_MAX 2
 
 struct spar_segment_state  {
 	/* Bit 0: May enter other states */
@@ -464,26 +464,26 @@ struct spar_controlvm_parameters_header {
  * 201, 202, 401, 402, 403
  */
 /* General Errors [0-99] */
-#define CONTROLVM_RESP_SUCCESS                                  0
-#define CONTROLVM_RESP_ERROR_ALREADY_DONE                       1
-#define CONTROLVM_RESP_ERROR_IOREMAP_FAILED                     2
-#define CONTROLVM_RESP_ERROR_KMALLOC_FAILED                     3
-#define CONTROLVM_RESP_ERROR_MESSAGE_ID_UNKNOWN                 4
-#define CONTROLVM_RESP_ERROR_MESSAGE_ID_INVALID_FOR_CLIENT      5
+#define CONTROLVM_RESP_SUCCESS 0
+#define CONTROLVM_RESP_ERROR_ALREADY_DONE 1
+#define CONTROLVM_RESP_ERROR_IOREMAP_FAILED 2
+#define CONTROLVM_RESP_ERROR_KMALLOC_FAILED 3
+#define CONTROLVM_RESP_ERROR_MESSAGE_ID_UNKNOWN 4
+#define CONTROLVM_RESP_ERROR_MESSAGE_ID_INVALID_FOR_CLIENT 5
 
 /* Payload and Parameter Related [400-499] */
 /* SWITCH_ATTACHEXTPORT, DEVICE_CONFIGURE */
-#define CONTROLVM_RESP_ERROR_PAYLOAD_INVALID	400
+#define CONTROLVM_RESP_ERROR_PAYLOAD_INVALID 400
 
 /* Specified[Packet Structure] Value [500-599] */
 /* SWITCH_ATTACHINTPORT, BUS_CONFIGURE, DEVICE_CREATE, DEVICE_CONFIG,
  * DEVICE_DESTROY
  */
-#define CONTROLVM_RESP_ERROR_BUS_INVALID	500
+#define CONTROLVM_RESP_ERROR_BUS_INVALID 500
 /* SWITCH_ATTACHINTPORT, DEVICE_CREATE, DEVICE_CONFIGURE, DEVICE_DESTROY */
-#define CONTROLVM_RESP_ERROR_DEVICE_INVALID	501
+#define CONTROLVM_RESP_ERROR_DEVICE_INVALID 501
  /* DEVICE_CREATE, DEVICE_CONFIGURE */
-#define CONTROLVM_RESP_ERROR_CHANNEL_INVALID	502
+#define CONTROLVM_RESP_ERROR_CHANNEL_INVALID 502
 
 /* Partition Driver Callback Interface [600-699] */
 /* Unable to invoke VIRTPCI callback */
@@ -506,14 +506,14 @@ struct spar_controlvm_parameters_header {
 #define CONTROLVM_RESP_ERROR_CHANNEL_SIZE_TOO_SMALL 801	/* DEVICE_CREATE */
 
 /* Chipset Shutdown Related [1000-1099] */
-#define CONTROLVM_RESP_ERROR_CHIPSET_SHUTDOWN_FAILED            1000
-#define CONTROLVM_RESP_ERROR_CHIPSET_SHUTDOWN_ALREADY_ACTIVE    1001
+#define CONTROLVM_RESP_ERROR_CHIPSET_SHUTDOWN_FAILED 1000
+#define CONTROLVM_RESP_ERROR_CHIPSET_SHUTDOWN_ALREADY_ACTIVE 1001
 
 /* Chipset Stop Related [1100-1199] */
-#define CONTROLVM_RESP_ERROR_CHIPSET_STOP_FAILED_BUS            1100
-#define CONTROLVM_RESP_ERROR_CHIPSET_STOP_FAILED_SWITCH         1101
+#define CONTROLVM_RESP_ERROR_CHIPSET_STOP_FAILED_BUS 1100
+#define CONTROLVM_RESP_ERROR_CHIPSET_STOP_FAILED_SWITCH 1101
 
 /* Device Related [1400-1499] */
-#define CONTROLVM_RESP_ERROR_DEVICE_UDEV_TIMEOUT                1400
+#define CONTROLVM_RESP_ERROR_DEVICE_UDEV_TIMEOUT 1400
 
 #endif /* __CONTROLVMCHANNEL_H__ */
-- 
1.9.1

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

  parent reply	other threads:[~2016-10-04 14:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04 14:16 [PATCH 00/13] staging: unisys: Convert client_bus_info to debugfs David Kershner
2016-10-04 14:16 ` [PATCH 01/13] staging: unisys: visorbus: controlvmchannel.h remove unused pound defines David Kershner
2016-10-09 15:05   ` Greg KH
2016-10-04 14:16 ` [PATCH 02/13] staging: unisys: visorbus: controlvmchannel.h fix comments David Kershner
2016-10-09 15:06   ` Greg KH
2016-10-04 14:16 ` David Kershner [this message]
2016-10-09 15:07   ` [PATCH 03/13] staging: unisys: visorbus: controlvmchannel.h fix spacing Greg KH
2016-10-04 14:16 ` [PATCH 04/13] staging: unisys: include: include.h remove unused pound defines David Kershner
2016-10-09 15:07   ` Greg KH
2016-10-04 14:16 ` [PATCH 05/13] staging: unisys: visorbus: remove unused initializations David Kershner
2016-10-09 15:08   ` Greg KH
2016-10-04 14:16 ` [PATCH 06/13] staging: unisys: include: iochannel.h remove unused pound defines David Kershner
2016-10-04 14:16 ` [PATCH 07/13] staging: unisys: include: channel.h " David Kershner
2016-10-04 14:16 ` [PATCH 08/13] staging: unisys: visorbus: vmcallinterface.h " David Kershner
2016-10-04 14:16 ` [PATCH 09/13] staging: unisys: visorbus: vbuschannel.h " David Kershner
2016-10-04 14:16 ` [PATCH 10/13] staging: unisys: visorbus: visorchannel.c rename 'local' variable to dest David Kershner
2016-10-04 14:16 ` [PATCH 11/13] staging: unisys: visorbus: visorbus_private rename 'local' var " David Kershner
2016-10-04 14:16 ` [PATCH 12/13] staging: unisys: visorbus: move DEVICE_ATTR_RO defs as-per conventions David Kershner
2016-10-04 14:16 ` [PATCH 13/13] staging: unisys: visorbus: convert client_bus_info sysfs to debugfs David Kershner
2016-10-09 15:09 ` [PATCH 00/13] staging: unisys: Convert client_bus_info " Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475590611-18117-4-git-send-email-david.kershner@unisys.com \
    --to=david.kershner@unisys.com \
    --cc=driverdev-devel@linuxdriverproject.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jes.sorensen@redhat.com \
    --cc=sparmaintainer@unisys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.