2010-07-09 22:50:04

by Sapiens, Rene

[permalink] [raw]
Subject: [PATCH] staging: ti dspbridge: fix compilation error

This patch fix a compilation error in uuid_hex_to_bin
due to the patch "simplify and clean up"

Signed-off-by: Rene Sapiens <[email protected]>
---
drivers/staging/tidspbridge/gen/uuidutil.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
mode change 100644 => 100755 drivers/staging/tidspbridge/gen/uuidutil.c

diff --git a/drivers/staging/tidspbridge/gen/uuidutil.c b/drivers/staging/tidspbridge/gen/uuidutil.c
index eb09bc3..070761b
--- a/drivers/staging/tidspbridge/gen/uuidutil.c
+++ b/drivers/staging/tidspbridge/gen/uuidutil.c
@@ -58,6 +58,7 @@ static s32 uuid_hex_to_bin(char *buf, s32 len)
{
s32 i;
s32 result = 0;
+ int value;

for (i = 0; i < len; i++) {
value = hex_to_bin(*buf++);
--
1.6.3.3


2010-07-09 23:37:35

by Andy Shevchenko

[permalink] [raw]
Subject: Re: [PATCH] staging: ti dspbridge: fix compilation error

On Sat, Jul 10, 2010 at 1:48 AM, Rene Sapiens <[email protected]> wrote:
> This patch fix a compilation error in uuid_hex_to_bin
> due to the patch "simplify and clean up"
>
> Signed-off-by: Rene Sapiens <[email protected]>
Oh, previous version of patch was sent. Thanks for fix.

ACK.

> ---
>  drivers/staging/tidspbridge/gen/uuidutil.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>  mode change 100644 => 100755 drivers/staging/tidspbridge/gen/uuidutil.c
>
> diff --git a/drivers/staging/tidspbridge/gen/uuidutil.c b/drivers/staging/tidspbridge/gen/uuidutil.c
> index eb09bc3..070761b
> --- a/drivers/staging/tidspbridge/gen/uuidutil.c
> +++ b/drivers/staging/tidspbridge/gen/uuidutil.c
> @@ -58,6 +58,7 @@ static s32 uuid_hex_to_bin(char *buf, s32 len)
>  {
>        s32 i;
>        s32 result = 0;
> +       int value;
>
>        for (i = 0; i < len; i++) {
>                value = hex_to_bin(*buf++);
> --
> 1.6.3.3
>
>



--
With Best Regards,
Andy Shevchenko