diff options
author | Ruslan Pisarev <ruslan@rpisarev.org.ua> | 2011-07-26 07:16:26 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-07-26 13:31:58 -0400 |
commit | 7b0ac956d91b91a1e05e4e0b454d65710fc73cd8 (patch) | |
tree | d83a2ef5e6bf173cb2fc81b357112004dbd7537f /drivers/xen | |
parent | 088c05a845da821fba9e5434bbcc6329368de34e (diff) |
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>
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/gntdev.c | 3 | ||||
-rw-r--r-- | drivers/xen/grant-table.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/xen/gntdev.c b/drivers/xen/gntdev.c index f914b26cf0c2..772a5b8bbf2e 100644 --- a/drivers/xen/gntdev.c +++ b/drivers/xen/gntdev.c | |||
@@ -188,9 +188,8 @@ static void gntdev_put_map(struct grant_map *map) | |||
188 | 188 | ||
189 | atomic_sub(map->count, &pages_mapped); | 189 | atomic_sub(map->count, &pages_mapped); |
190 | 190 | ||
191 | if (map->notify.flags & UNMAP_NOTIFY_SEND_EVENT) { | 191 | if (map->notify.flags & UNMAP_NOTIFY_SEND_EVENT) |
192 | notify_remote_via_evtchn(map->notify.event); | 192 | notify_remote_via_evtchn(map->notify.event); |
193 | } | ||
194 | 193 | ||
195 | if (map->pages) { | 194 | if (map->pages) { |
196 | if (!use_ptemod) | 195 | if (!use_ptemod) |
diff --git a/drivers/xen/grant-table.c b/drivers/xen/grant-table.c index fd725cde6ad1..3a3dceb7063a 100644 --- a/drivers/xen/grant-table.c +++ b/drivers/xen/grant-table.c | |||
@@ -193,7 +193,7 @@ int gnttab_query_foreign_access(grant_ref_t ref) | |||
193 | 193 | ||
194 | nflags = shared[ref].flags; | 194 | nflags = shared[ref].flags; |
195 | 195 | ||
196 | return (nflags & (GTF_reading|GTF_writing)); | 196 | return nflags & (GTF_reading|GTF_writing); |
197 | } | 197 | } |
198 | EXPORT_SYMBOL_GPL(gnttab_query_foreign_access); | 198 | EXPORT_SYMBOL_GPL(gnttab_query_foreign_access); |
199 | 199 | ||