Message ID | 20200407061613.21325-3-amitay@ozlabs.org |
---|---|
State | Superseded |
Headers | show |
Series | Add sbefifo backend | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | warning | Failed to apply on branch master (8b4611b5d8e7e2279fe4aa80c892fcfe10aa398d) |
snowpatch_ozlabs/apply_patch | fail | Failed to apply to any branch |
Reviewed-by: Alistair Popple <alistair@popple.id.au> On Tuesday, 7 April 2020 4:15:56 PM AEST Amitay Isaacs wrote: > Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> > --- > libsbefifo/cmd_scom.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libsbefifo/cmd_scom.c b/libsbefifo/cmd_scom.c > index bc9b5f9..bb44e5e 100644 > --- a/libsbefifo/cmd_scom.c > +++ b/libsbefifo/cmd_scom.c > @@ -24,7 +24,7 @@ > > static int sbefifo_scom_get_push(uint64_t addr, uint8_t **buf, uint32_t > *buflen) { > - uint8_t *msg; > + uint32_t *msg; > uint32_t nwords, cmd; > > nwords = 4; > @@ -83,7 +83,7 @@ int sbefifo_scom_get(struct sbefifo_context *sctx, > uint64_t addr, uint64_t *valu > > static int sbefifo_scom_put_push(uint64_t addr, uint64_t value, uint8_t > **buf, uint32_t *buflen) { > - uint8_t *msg; > + uint32_t *msg; > uint32_t nwords, cmd; > > nwords = 6;
diff --git a/libsbefifo/cmd_scom.c b/libsbefifo/cmd_scom.c index bc9b5f9..bb44e5e 100644 --- a/libsbefifo/cmd_scom.c +++ b/libsbefifo/cmd_scom.c @@ -24,7 +24,7 @@ static int sbefifo_scom_get_push(uint64_t addr, uint8_t **buf, uint32_t *buflen) { - uint8_t *msg; + uint32_t *msg; uint32_t nwords, cmd; nwords = 4; @@ -83,7 +83,7 @@ int sbefifo_scom_get(struct sbefifo_context *sctx, uint64_t addr, uint64_t *valu static int sbefifo_scom_put_push(uint64_t addr, uint64_t value, uint8_t **buf, uint32_t *buflen) { - uint8_t *msg; + uint32_t *msg; uint32_t nwords, cmd; nwords = 6;
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> --- libsbefifo/cmd_scom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)