LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] ehea: Fix some whitespace issues
@ 2008-11-05 12:18 Hannes Hering
2008-11-06 5:54 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Hannes Hering @ 2008-11-05 12:18 UTC (permalink / raw)
To: Jeff Garzik
Cc: linux-kernel, linuxppc-dev, netdev, ossrosch, ossthema, raisch,
themann, osstklei
This patch removes some trailing whitespaces and spaces before tabs.
Signed-off-by: Hannes Hering <hering2@de.ibm.com>
---
diff -Nurp -X dontdiff linux-2.6.28-rc3/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h
--- linux-2.6.28-rc3/drivers/net/ehea/ehea.h 2008-11-02 23:17:19.000000000 +0100
+++ patched_kernel/drivers/net/ehea/ehea.h 2008-11-05 10:10:14.563107976 +0100
@@ -40,7 +40,7 @@
#include <asm/io.h>
#define DRV_NAME "ehea"
-#define DRV_VERSION "EHEA_0095"
+#define DRV_VERSION "EHEA_0096"
/* eHEA capability flags */
#define DLPAR_PORT_ADD_REM 1
diff -Nurp -X dontdiff linux-2.6.28-rc3/drivers/net/ehea/ehea_qmr.c patched_kernel/drivers/net/ehea/ehea_qmr.c
--- linux-2.6.28-rc3/drivers/net/ehea/ehea_qmr.c 2008-11-02 23:17:19.000000000 +0100
+++ patched_kernel/drivers/net/ehea/ehea_qmr.c 2008-11-05 10:10:14.563107976 +0100
@@ -653,7 +653,7 @@ static int ehea_update_busmap(unsigned l
int top = ehea_calc_index(i, EHEA_TOP_INDEX_SHIFT);
int dir = ehea_calc_index(i, EHEA_DIR_INDEX_SHIFT);
int idx = i & EHEA_INDEX_MASK;
-
+
if (add) {
int ret = ehea_init_bmap(ehea_bmap, top, dir);
if (ret)
@@ -780,7 +780,7 @@ void ehea_destroy_busmap(void)
kfree(ehea_bmap);
ehea_bmap = NULL;
-out_destroy:
+out_destroy:
mutex_unlock(&ehea_busmap_mutex);
}
@@ -858,10 +858,10 @@ static u64 ehea_reg_mr_sections(int top,
for (idx = 0; idx < EHEA_MAP_ENTRIES; idx++) {
if (!ehea_bmap->top[top]->dir[dir]->ent[idx])
continue;
-
+
hret = ehea_reg_mr_section(top, dir, idx, pt, adapter, mr);
if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED))
- return hret;
+ return hret;
}
return hret;
}
@@ -879,7 +879,7 @@ static u64 ehea_reg_mr_dir_sections(int
hret = ehea_reg_mr_sections(top, dir, pt, adapter, mr);
if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED))
- return hret;
+ return hret;
}
return hret;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ehea: Fix some whitespace issues
2008-11-05 12:18 [PATCH] ehea: Fix some whitespace issues Hannes Hering
@ 2008-11-06 5:54 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-11-06 5:54 UTC (permalink / raw)
To: Hannes Hering
Cc: linux-kernel, linuxppc-dev, netdev, ossrosch, ossthema, raisch,
themann, osstklei
Hannes Hering wrote:
> This patch removes some trailing whitespaces and spaces before tabs.
>
> Signed-off-by: Hannes Hering <hering2@de.ibm.com>
> ---
> diff -Nurp -X dontdiff linux-2.6.28-rc3/drivers/net/ehea/ehea.h patched_kernel/drivers/net/ehea/ehea.h
> --- linux-2.6.28-rc3/drivers/net/ehea/ehea.h 2008-11-02 23:17:19.000000000 +0100
> +++ patched_kernel/drivers/net/ehea/ehea.h 2008-11-05 10:10:14.563107976 +0100
> @@ -40,7 +40,7 @@
> #include <asm/io.h>
>
> #define DRV_NAME "ehea"
> -#define DRV_VERSION "EHEA_0095"
> +#define DRV_VERSION "EHEA_0096"
>
> /* eHEA capability flags */
> #define DLPAR_PORT_ADD_REM 1
> diff -Nurp -X dontdiff linux-2.6.28-rc3/drivers/net/ehea/ehea_qmr.c patched_kernel/drivers/net/ehea/ehea_qmr.c
> --- linux-2.6.28-rc3/drivers/net/ehea/ehea_qmr.c 2008-11-02 23:17:19.000000000 +0100
> +++ patched_kernel/drivers/net/ehea/ehea_qmr.c 2008-11-05 10:10:14.563107976 +0100
> @@ -653,7 +653,7 @@ static int ehea_update_busmap(unsigned l
> int top = ehea_calc_index(i, EHEA_TOP_INDEX_SHIFT);
> int dir = ehea_calc_index(i, EHEA_DIR_INDEX_SHIFT);
> int idx = i & EHEA_INDEX_MASK;
> -
> +
> if (add) {
> int ret = ehea_init_bmap(ehea_bmap, top, dir);
> if (ret)
> @@ -780,7 +780,7 @@ void ehea_destroy_busmap(void)
>
> kfree(ehea_bmap);
> ehea_bmap = NULL;
> -out_destroy:
> +out_destroy:
> mutex_unlock(&ehea_busmap_mutex);
> }
>
> @@ -858,10 +858,10 @@ static u64 ehea_reg_mr_sections(int top,
> for (idx = 0; idx < EHEA_MAP_ENTRIES; idx++) {
> if (!ehea_bmap->top[top]->dir[dir]->ent[idx])
> continue;
> -
> +
> hret = ehea_reg_mr_section(top, dir, idx, pt, adapter, mr);
> if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED))
> - return hret;
> + return hret;
> }
> return hret;
> }
> @@ -879,7 +879,7 @@ static u64 ehea_reg_mr_dir_sections(int
>
> hret = ehea_reg_mr_sections(top, dir, pt, adapter, mr);
> if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED))
> - return hret;
> + return hret;
> }
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-11-06 5:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-05 12:18 [PATCH] ehea: Fix some whitespace issues Hannes Hering
2008-11-06 5:54 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).