[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 7/7] another small change in style for consistency
From: |
Marin Ramesa |
Subject: |
[PATCH 7/7] another small change in style for consistency |
Date: |
Fri, 13 Sep 2013 13:31:57 +0200 |
* device/dev_name.c: Change in coding style.
---
device/dev_name.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/device/dev_name.c b/device/dev_name.c
index dc5f835..2e3b0ab 100644
--- a/device/dev_name.c
+++ b/device/dev_name.c
@@ -219,14 +219,14 @@ boolean_t dev_change_indirect(iname, dname, unit)
boolean_t found = FALSE;
dev_search(dp) {
- if (!strcmp(dp->d_name,dname)) {
+ if (!strcmp(dp->d_name, dname)) {
found = TRUE;
break;
}
}
if (!found) return FALSE;
dev_indirect_search(di) {
- if (!strcmp(di->d_name,iname)) {
+ if (!strcmp(di->d_name, iname)) {
di->d_ops = dp;
di->d_unit = unit;
return TRUE;
--
1.8.1.4
- Re: [PATCH 3/7] name_equal: return early from function if src null-terminates in the loop, (continued)
Re: [PATCH 3/7] name_equal: return early from function if src null-terminates in the loop, Samuel Thibault, 2013/09/15
[PATCH 4/7] another small change in style for consistency, Marin Ramesa, 2013/09/13
[PATCH 5/7] remove preprocessor comments, Marin Ramesa, 2013/09/13
[PATCH 6/7] use boolean_t instead of an int, Marin Ramesa, 2013/09/13
[PATCH 7/7] another small change in style for consistency,
Marin Ramesa <=
Re: Small cleanup of device name routines, Samuel Thibault, 2013/09/15