[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 20/21] openpic: fix minor coding style issues
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH 20/21] openpic: fix minor coding style issues |
Date: |
Thu, 13 Dec 2012 13:02:27 +0100 |
This patch removes all remaining occurences of spaces before function
parameter indicating parenthesis.
Signed-off-by: Alexander Graf <address@hidden>
---
hw/openpic.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hw/openpic.c b/hw/openpic.c
index 4bea1e7..25d5cd7 100644
--- a/hw/openpic.c
+++ b/hw/openpic.c
@@ -140,17 +140,17 @@
#define BF_WIDTH(_bits_) \
(((_bits_) + (sizeof(uint32_t) * 8) - 1) / (sizeof(uint32_t) * 8))
-static inline void set_bit (uint32_t *field, int bit)
+static inline void set_bit(uint32_t *field, int bit)
{
field[bit >> 5] |= 1 << (bit & 0x1F);
}
-static inline void reset_bit (uint32_t *field, int bit)
+static inline void reset_bit(uint32_t *field, int bit)
{
field[bit >> 5] &= ~(1 << (bit & 0x1F));
}
-static inline int test_bit (uint32_t *field, int bit)
+static inline int test_bit(uint32_t *field, int bit)
{
return (field[bit >> 5] & 1 << (bit & 0x1F)) != 0;
}
@@ -249,17 +249,17 @@ typedef struct OpenPICState {
static void openpic_irq_raise(OpenPICState *opp, int n_CPU, IRQ_src_t *src);
-static inline void IRQ_setbit (IRQ_queue_t *q, int n_IRQ)
+static inline void IRQ_setbit(IRQ_queue_t *q, int n_IRQ)
{
set_bit(q->queue, n_IRQ);
}
-static inline void IRQ_resetbit (IRQ_queue_t *q, int n_IRQ)
+static inline void IRQ_resetbit(IRQ_queue_t *q, int n_IRQ)
{
reset_bit(q->queue, n_IRQ);
}
-static inline int IRQ_testbit (IRQ_queue_t *q, int n_IRQ)
+static inline int IRQ_testbit(IRQ_queue_t *q, int n_IRQ)
{
return test_bit(q->queue, n_IRQ);
}
--
1.6.0.2
- [Qemu-devel] [PATCH 19/21] MSI-X: Fix endianness, (continued)
- [Qemu-devel] [PATCH 19/21] MSI-X: Fix endianness, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 12/21] openpic: rename openpic_t to OpenPICState, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 04/21] openpic: combine mpic and openpic src handlers, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 01/21] openpic: Remove unused code, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 07/21] openpic: merge mpic and openpic timer handling, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 06/21] openpic: combine mpic and openpic irq raise functions, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 11/21] openpic: convert simple reg operations to builtin bitops, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 09/21] openpic: unify memory api subregions, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 16/21] openpic: add Shared MSI support, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 13/21] openpic: remove irq_out, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 20/21] openpic: fix minor coding style issues,
Alexander Graf <=
- [Qemu-devel] [PATCH 14/21] openpic: convert to qdev, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 18/21] PPC: e500: Declare pci bridge as bridge, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 21/21] openpic: Accelerate pending irq search, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 17/21] PPC: e500: Add MSI support, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 03/21] openpic: update to proper memory api, Alexander Graf, 2012/12/13
- [Qemu-devel] [PATCH 15/21] openpic: make brr1 model specific, Alexander Graf, 2012/12/13