ehea: Fix some whitespace issues
This patch removes some trailing whitespaces and spaces before tabs. Signed-off-by: Hannes Hering <hering2@de.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
739bb23d72
commit
c5916cf8db
|
@ -40,7 +40,7 @@
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
|
|
||||||
#define DRV_NAME "ehea"
|
#define DRV_NAME "ehea"
|
||||||
#define DRV_VERSION "EHEA_0095"
|
#define DRV_VERSION "EHEA_0096"
|
||||||
|
|
||||||
/* eHEA capability flags */
|
/* eHEA capability flags */
|
||||||
#define DLPAR_PORT_ADD_REM 1
|
#define DLPAR_PORT_ADD_REM 1
|
||||||
|
|
|
@ -653,7 +653,7 @@ static int ehea_update_busmap(unsigned long pfn, unsigned long nr_pages, int add
|
||||||
int top = ehea_calc_index(i, EHEA_TOP_INDEX_SHIFT);
|
int top = ehea_calc_index(i, EHEA_TOP_INDEX_SHIFT);
|
||||||
int dir = ehea_calc_index(i, EHEA_DIR_INDEX_SHIFT);
|
int dir = ehea_calc_index(i, EHEA_DIR_INDEX_SHIFT);
|
||||||
int idx = i & EHEA_INDEX_MASK;
|
int idx = i & EHEA_INDEX_MASK;
|
||||||
|
|
||||||
if (add) {
|
if (add) {
|
||||||
int ret = ehea_init_bmap(ehea_bmap, top, dir);
|
int ret = ehea_init_bmap(ehea_bmap, top, dir);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
@ -780,7 +780,7 @@ void ehea_destroy_busmap(void)
|
||||||
|
|
||||||
kfree(ehea_bmap);
|
kfree(ehea_bmap);
|
||||||
ehea_bmap = NULL;
|
ehea_bmap = NULL;
|
||||||
out_destroy:
|
out_destroy:
|
||||||
mutex_unlock(&ehea_busmap_mutex);
|
mutex_unlock(&ehea_busmap_mutex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -858,10 +858,10 @@ static u64 ehea_reg_mr_sections(int top, int dir, u64 *pt,
|
||||||
for (idx = 0; idx < EHEA_MAP_ENTRIES; idx++) {
|
for (idx = 0; idx < EHEA_MAP_ENTRIES; idx++) {
|
||||||
if (!ehea_bmap->top[top]->dir[dir]->ent[idx])
|
if (!ehea_bmap->top[top]->dir[dir]->ent[idx])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
hret = ehea_reg_mr_section(top, dir, idx, pt, adapter, mr);
|
hret = ehea_reg_mr_section(top, dir, idx, pt, adapter, mr);
|
||||||
if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED))
|
if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED))
|
||||||
return hret;
|
return hret;
|
||||||
}
|
}
|
||||||
return hret;
|
return hret;
|
||||||
}
|
}
|
||||||
|
@ -879,7 +879,7 @@ static u64 ehea_reg_mr_dir_sections(int top, u64 *pt,
|
||||||
|
|
||||||
hret = ehea_reg_mr_sections(top, dir, pt, adapter, mr);
|
hret = ehea_reg_mr_sections(top, dir, pt, adapter, mr);
|
||||||
if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED))
|
if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED))
|
||||||
return hret;
|
return hret;
|
||||||
}
|
}
|
||||||
return hret;
|
return hret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue