ruslanpisarev at gmail.com
2011-Jul-26 11:16 UTC
[PATCH 5/7] Xen: fix whitespaces, tabs coding style issue in drivers/xen/xenbus/xenbus_client.c
From: Ruslan Pisarev <ruslan at rpisarev.org.ua>
This is a patch to the xenbus_client.c file that fixed up whitespaces, tabs
errors found by the checkpatch.pl tools.
Signed-off-by: Ruslan Pisarev <ruslan at rpisarev.org.ua>
---
drivers/xen/xenbus/xenbus_client.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/xen/xenbus/xenbus_client.c
b/drivers/xen/xenbus/xenbus_client.c
index cdacf92..ff4f03c 100644
--- a/drivers/xen/xenbus/xenbus_client.c
+++ b/drivers/xen/xenbus/xenbus_client.c
@@ -43,15 +43,15 @@
const char *xenbus_strstate(enum xenbus_state state)
{
static const char *const name[] = {
- [ XenbusStateUnknown ] = "Unknown",
- [ XenbusStateInitialising ] = "Initialising",
- [ XenbusStateInitWait ] = "InitWait",
- [ XenbusStateInitialised ] = "Initialised",
- [ XenbusStateConnected ] = "Connected",
- [ XenbusStateClosing ] = "Closing",
- [ XenbusStateClosed ] = "Closed",
- [XenbusStateReconfiguring] = "Reconfiguring",
- [XenbusStateReconfigured] = "Reconfigured",
+ [XenbusStateUnknown] = "Unknown",
+ [XenbusStateInitialising] = "Initialising",
+ [XenbusStateInitWait] = "InitWait",
+ [XenbusStateInitialised] = "Initialised",
+ [XenbusStateConnected] = "Connected",
+ [XenbusStateClosing] = "Closing",
+ [XenbusStateClosed] = "Closed",
+ [XenbusStateReconfiguring] = "Reconfiguring",
+ [XenbusStateReconfigured] = "Reconfigured",
};
return (state < ARRAY_SIZE(name)) ? name[state] : "INVALID";
}
--
1.7.4.1
Jeremy Fitzhardinge
2011-Jul-26 16:17 UTC
[PATCH 5/7] Xen: fix whitespaces, tabs coding style issue in drivers/xen/xenbus/xenbus_client.c
On 07/26/2011 04:16 AM, ruslanpisarev at gmail.com wrote:> From: Ruslan Pisarev <ruslan at rpisarev.org.ua> > > This is a patch to the xenbus_client.c file that fixed up whitespaces, tabs errors found by the checkpatch.pl tools. > > Signed-off-by: Ruslan Pisarev <ruslan at rpisarev.org.ua> > --- > drivers/xen/xenbus/xenbus_client.c | 18 +++++++++--------- > 1 files changed, 9 insertions(+), 9 deletions(-) > > diff --git a/drivers/xen/xenbus/xenbus_client.c b/drivers/xen/xenbus/xenbus_client.c > index cdacf92..ff4f03c 100644 > --- a/drivers/xen/xenbus/xenbus_client.c > +++ b/drivers/xen/xenbus/xenbus_client.c > @@ -43,15 +43,15 @@ > const char *xenbus_strstate(enum xenbus_state state) > { > static const char *const name[] = { > - [ XenbusStateUnknown ] = "Unknown", > - [ XenbusStateInitialising ] = "Initialising", > - [ XenbusStateInitWait ] = "InitWait", > - [ XenbusStateInitialised ] = "Initialised", > - [ XenbusStateConnected ] = "Connected", > - [ XenbusStateClosing ] = "Closing", > - [ XenbusStateClosed ] = "Closed", > - [XenbusStateReconfiguring] = "Reconfiguring", > - [XenbusStateReconfigured] = "Reconfigured", > + [XenbusStateUnknown] = "Unknown", > + [XenbusStateInitialising] = "Initialising", > + [XenbusStateInitWait] = "InitWait", > + [XenbusStateInitialised] = "Initialised", > + [XenbusStateConnected] = "Connected", > + [XenbusStateClosing] = "Closing", > + [XenbusStateClosed] = "Closed", > + [XenbusStateReconfiguring] = "Reconfiguring", > + [XenbusStateReconfigured] = "Reconfigured", > };Eh, I think this looks worse now. J
Konrad Rzeszutek Wilk
2011-Jul-27 15:36 UTC
[Xen-devel] [PATCH 5/7] Xen: fix whitespaces, tabs coding style issue in drivers/xen/xenbus/xenbus_client.c
On Tue, Jul 26, 2011 at 02:16:49PM +0300, ruslanpisarev at gmail.com wrote:> From: Ruslan Pisarev <ruslan at rpisarev.org.ua> > > This is a patch to the xenbus_client.c file that fixed up whitespaces, tabs errors found by the checkpatch.pl tools.Not sure why you resent this patchset, but I am not taking this patch in. Please address the concerns that were raised the first time you sent this patch. I've the other six queued up for 3.2.
Possibly Parallel Threads
- [PATCH 5/7] Xen: fix whitespaces, tabs coding style issue in drivers/xen/xenbus/xenbus_client.c
- [PATCH 5/7] Xen: fix whitespaces, tabs coding style issue in drivers/xen/xenbus/xenbus_client.c
- [PATCH 7/7] Xen: fix braces and tabs coding style issue in xenbus_probe.c This is a patch to the xenbus_probe.c file that fixed up braces and tabs errors found by the checkpatch.pl tools.
- [PATCH 7/7] Xen: fix braces and tabs coding style issue in xenbus_probe.c This is a patch to the xenbus_probe.c file that fixed up braces and tabs errors found by the checkpatch.pl tools.
- [PATCH 7/7] Xen: fix braces and tabs coding style issue in xenbus_probe.c This is a patch to the xenbus_probe.c file that fixed up braces and tabs errors found by the checkpatch.pl tools.