[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/4] coding style changes
From: |
Marin Ramesa |
Subject: |
[PATCH 4/4] coding style changes |
Date: |
Tue, 17 Sep 2013 04:44:49 +0200 |
* device/dev_pager.c: Coding style changes.
---
device/dev_pager.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/device/dev_pager.c b/device/dev_pager.c
index 63726b6..da6ec7e 100644
--- a/device/dev_pager.c
+++ b/device/dev_pager.c
@@ -186,7 +186,7 @@ void dev_pager_hash_insert(
{
dev_pager_entry_t new_entry;
- new_entry = (dev_pager_entry_t) kmem_cache_alloc(&dev_pager_hash_cache);
+ new_entry = (dev_pager_entry_t)kmem_cache_alloc(&dev_pager_hash_cache);
new_entry->name = name_port;
new_entry->pager_rec = rec;
@@ -440,7 +440,7 @@ boolean_t device_pager_data_request_done(io_req_t ior)
if (kr != KERN_SUCCESS)
panic("device_pager_data_request_done");
- (void) r_memory_object_data_provided(
+ (void)r_memory_object_data_provided(
ior->io_reply_port,
ior->io_recnum * ior->io_device->bsize,
(vm_offset_t)copy,
--
1.8.1.4
- Small cleanup of the device pager, Marin Ramesa, 2013/09/16
- [PATCH 1/4] remove register qualifiers, Marin Ramesa, 2013/09/16
- [PATCH 2/4] coding style changes, Marin Ramesa, 2013/09/16
- [PATCH 3/4] remove lint code, Marin Ramesa, 2013/09/16
- [PATCH 4/4] coding style changes,
Marin Ramesa <=
- Re: Small cleanup of the device pager, Samuel Thibault, 2013/09/21
- Re: Small cleanup of the device pager, Samuel Thibault, 2013/09/21