In another patch kvm_is_visible_gfn is maken return bool due to this
function only returns zero or one as its return value, let's also make
kvmppc_visible_gpa return bool to keep consistent.
No functional change.
Signed-off-by: Yaowei Bai
---
arch/powerpc/kvm/book3s_pr.c | 4 ++--
1
Catching the return value of soundbus_register_driver in
aoa_fabric_layout_init is not necessary, let's return it
directly.
No functional change.
Signed-off-by: Yaowei Bai
---
sound/aoa/fabrics/layout.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/sound/aoa/fa
This patch makes prioq_match return bool due to this particular
function only using either one or zero as its return value.
No functional change.
Change from v1:
fix indentation to line up properly (Johannes Berg)
Signed-off-by: Yaowei Bai
---
sound/core/seq/seq_prioq.c | 14
Make 'return' stay in a singe line.
No functional change.
Signed-off-by: Yaowei Bai
---
sound/aoa/soundbus/i2sbus/core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sound/aoa/soundbus/i2sbus/core.c b/sound/aoa/soundbus/i2sbus/core.c
index 1cbf210..6f216c0 10
Case ti->tag == 0 can be included in the last return,
remove it.
No functional change.
Signed-off-by: Yaowei Bai
---
sound/aoa/codecs/onyx.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/aoa/codecs/onyx.c b/sound/aoa/codecs/onyx.c
index a04edff..a407e1f 100644
--- a/sound/aoa/cod
On Tue, Sep 22, 2015 at 03:28:12PM +0200, Johannes Berg wrote:
> On Tue, 2015-09-22 at 21:22 +0800, Yaowei Bai wrote:
> > On Mon, Sep 21, 2015 at 04:11:00PM +0200, Johannes Berg wrote:
> > >
> > > > -static inline int prioq_match(struct snd_seq_event_cell *cel
On Mon, Sep 21, 2015 at 04:11:00PM +0200, Johannes Berg wrote:
>
> > -static inline int prioq_match(struct snd_seq_event_cell *cell,
> > +static inline bool prioq_match(struct snd_seq_event_cell *cell,
> > int client, int timestamp)
>
> I think you should fix up the inde
This patch makes prioq_match return bool due to this particular
function only using either one or zero as its return value.
No functional change.
Signed-off-by: Yaowei Bai
---
sound/core/seq/seq_prioq.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sound/core
Catching the return value of soundbus_register_driver in
aoa_fabric_layout_init is not necessary, let's return it
directly.
No functional change.
Signed-off-by: Yaowei Bai
---
sound/aoa/fabrics/layout.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/sound/aoa/fa
Make 'return' stay in a singe line.
No functional change.
Signed-off-by: Yaowei Bai
---
sound/aoa/soundbus/i2sbus/core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sound/aoa/soundbus/i2sbus/core.c b/sound/aoa/soundbus/i2sbus/core.c
index 1cbf210..6f216c0 10
Case ti->tag == 0 can be included in the last return,
remove it.
No functional change.
Signed-off-by: Yaowei Bai
---
sound/aoa/codecs/onyx.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/aoa/codecs/onyx.c b/sound/aoa/codecs/onyx.c
index a04edff..a407e1f 100644
--- a/sound/aoa/cod
11 matches
Mail list logo