* [PATCH] staging: unisys: visorbus: fix function open braces
@ 2017-07-11 3:48 Mitchell Tasman
2017-07-11 18:16 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Mitchell Tasman @ 2017-07-11 3:48 UTC (permalink / raw)
To: David Kershner, Greg Kroah-Hartman, Tim Sell, David Binder,
Thomas Gleixner, Sameer Wadgaonkar, Bryan Thompson, Jon Frisch
Cc: sparmaintainer, devel, linux-kernel, Mitchell Tasman
Resolve multiple checkpatch errors by relocating open braces
following function definitions to the next line.
Signed-off-by: Mitchell Tasman <tasman@leaflabs.com>
---
drivers/staging/unisys/visorbus/visorbus_main.c | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c
index 1c785dd..c564962 100644
--- a/drivers/staging/unisys/visorbus/visorbus_main.c
+++ b/drivers/staging/unisys/visorbus/visorbus_main.c
@@ -270,7 +270,8 @@ static const struct attribute_group *visorbus_channel_groups[] = {
static ssize_t partition_handle_show(struct device *dev,
struct device_attribute *attr,
- char *buf) {
+ char *buf)
+{
struct visor_device *vdev = to_visor_device(dev);
u64 handle = visorchannel_get_clientpartition(vdev->visorchannel);
@@ -280,7 +281,8 @@ static DEVICE_ATTR_RO(partition_handle);
static ssize_t partition_guid_show(struct device *dev,
struct device_attribute *attr,
- char *buf) {
+ char *buf)
+{
struct visor_device *vdev = to_visor_device(dev);
return sprintf(buf, "{%pUb}\n", &vdev->partition_uuid);
@@ -289,7 +291,8 @@ static DEVICE_ATTR_RO(partition_guid);
static ssize_t partition_name_show(struct device *dev,
struct device_attribute *attr,
- char *buf) {
+ char *buf)
+{
struct visor_device *vdev = to_visor_device(dev);
return sprintf(buf, "%s\n", vdev->name);
@@ -298,7 +301,8 @@ static DEVICE_ATTR_RO(partition_name);
static ssize_t channel_addr_show(struct device *dev,
struct device_attribute *attr,
- char *buf) {
+ char *buf)
+{
struct visor_device *vdev = to_visor_device(dev);
u64 addr = visorchannel_get_physaddr(vdev->visorchannel);
@@ -308,7 +312,8 @@ static DEVICE_ATTR_RO(channel_addr);
static ssize_t channel_bytes_show(struct device *dev,
struct device_attribute *attr,
- char *buf) {
+ char *buf)
+{
struct visor_device *vdev = to_visor_device(dev);
u64 nbytes = visorchannel_get_nbytes(vdev->visorchannel);
@@ -318,7 +323,8 @@ static DEVICE_ATTR_RO(channel_bytes);
static ssize_t channel_id_show(struct device *dev,
struct device_attribute *attr,
- char *buf) {
+ char *buf)
+{
struct visor_device *vdev = to_visor_device(dev);
int len = 0;
--
2.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: unisys: visorbus: fix function open braces
2017-07-11 3:48 [PATCH] staging: unisys: visorbus: fix function open braces Mitchell Tasman
@ 2017-07-11 18:16 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2017-07-11 18:16 UTC (permalink / raw)
To: Mitchell Tasman
Cc: David Kershner, Tim Sell, David Binder, Thomas Gleixner,
Sameer Wadgaonkar, Bryan Thompson, Jon Frisch, devel,
sparmaintainer, linux-kernel
On Mon, Jul 10, 2017 at 11:48:26PM -0400, Mitchell Tasman wrote:
> Resolve multiple checkpatch errors by relocating open braces
> following function definitions to the next line.
>
> Signed-off-by: Mitchell Tasman <tasman@leaflabs.com>
> ---
> drivers/staging/unisys/visorbus/visorbus_main.c | 18 ++++++++++++------
> 1 file changed, 12 insertions(+), 6 deletions(-)
Doesn't apply on top of the other unisys patches that were recently
posted :(
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-11 18:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-11 3:48 [PATCH] staging: unisys: visorbus: fix function open braces Mitchell Tasman
2017-07-11 18:16 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome