Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1278982
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Fabian Frederick <fabf@skynet.be> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 08/21] drbd: use unsigned for one bit fields |
| Date | Fri, 27 Nov 2015 22:30:02 +0100 |
| Message-ID | <qzyKC-89k-5@gated-at.bofh.it> (permalink) |
| References | <qzyKC-89k-3@gated-at.bofh.it> |
| X-Original-To | linux-kernel@vger.kernel.org |
| X-Belgacom-Dynamic | yes |
| X-Ironport-Anti-Spam-Filtered | true |
| X-Ironport-Anti-Spam-Result | A2B/AgC5ylhW/6YUtFtegmlSgUK8BYIaAQ2BZIYPAoE+ORQBAQEBAQEBgQqENQEBBFYjEFE5HhmIMgGycIoOAQEII4ZUiTNyhBIFlleNOJxhHwEBQoIOAx2BVz00hAmBSQEBAQ |
| X-Mailer | git-send-email 2.1.4 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 40 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Philipp Reisner <philipp.reisner@linbit.com>, Fabian Frederick <fabf@skynet.be>, Lars Ellenberg <lars.ellenberg@linbit.com>, drbd-dev@lists.linbit.com |
| X-Original-Date | Fri, 27 Nov 2015 22:26:13 +0100 |
| X-Original-Message-ID | <1448659575-13485-9-git-send-email-fabf@skynet.be> |
| X-Original-References | <1448659575-13485-1-git-send-email-fabf@skynet.be> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1278982 |
Show key headers only | View raw
Fix sparse warnings and limit comments to fit in 80 columns
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
drivers/block/drbd/drbd_interval.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/block/drbd/drbd_interval.h b/drivers/block/drbd/drbd_interval.h
index f210543..23c5a94 100644
--- a/drivers/block/drbd/drbd_interval.h
+++ b/drivers/block/drbd/drbd_interval.h
@@ -6,13 +6,13 @@
struct drbd_interval {
struct rb_node rb;
- sector_t sector; /* start sector of the interval */
- unsigned int size; /* size in bytes */
- sector_t end; /* highest interval end in subtree */
- int local:1 /* local or remote request? */;
- int waiting:1; /* someone is waiting for this to complete */
- int completed:1; /* this has been completed already;
- * ignore for conflict detection */
+ sector_t sector; /* start sector of the interval */
+ unsigned int size; /* size in bytes */
+ sector_t end; /* highest interval end in subtree */
+ unsigned int local:1 /* local or remote request? */;
+ unsigned int waiting:1; /* someone is waiting for completion */
+ unsigned int completed:1; /* this has been completed already;
+ * ignore for conflict detection */
};
static inline void drbd_clear_interval(struct drbd_interval *i)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 08/21] drbd: use unsigned for one bit fields Fabian Frederick <fabf@skynet.be> - 2015-11-27 22:30 +0100
csiph-web