Xen: fix braces coding style issue in gntdev.c and grant-table.c
This is a patch to the gntdev.c and grant-table.c files that fixed up braces errors found by the checkpatch.pl tools. Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
committed by
Konrad Rzeszutek Wilk
parent
088c05a845
commit
7b0ac956d9
@@ -188,9 +188,8 @@ static void gntdev_put_map(struct grant_map *map)
|
|||||||
|
|
||||||
atomic_sub(map->count, &pages_mapped);
|
atomic_sub(map->count, &pages_mapped);
|
||||||
|
|
||||||
if (map->notify.flags & UNMAP_NOTIFY_SEND_EVENT) {
|
if (map->notify.flags & UNMAP_NOTIFY_SEND_EVENT)
|
||||||
notify_remote_via_evtchn(map->notify.event);
|
notify_remote_via_evtchn(map->notify.event);
|
||||||
}
|
|
||||||
|
|
||||||
if (map->pages) {
|
if (map->pages) {
|
||||||
if (!use_ptemod)
|
if (!use_ptemod)
|
||||||
|
@@ -193,7 +193,7 @@ int gnttab_query_foreign_access(grant_ref_t ref)
|
|||||||
|
|
||||||
nflags = shared[ref].flags;
|
nflags = shared[ref].flags;
|
||||||
|
|
||||||
return (nflags & (GTF_reading|GTF_writing));
|
return nflags & (GTF_reading|GTF_writing);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(gnttab_query_foreign_access);
|
EXPORT_SYMBOL_GPL(gnttab_query_foreign_access);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user