diff mbox

staging: ti dspbridge: fix compilation error

Message ID 1278715732-21167-1-git-send-email-rene.sapiens@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Sapiens, Rene July 9, 2010, 10:48 p.m. UTC
This patch fix a compilation error in uuid_hex_to_bin
due to the patch "simplify and clean up"

Signed-off-by: Rene Sapiens <rene.sapiens@ti.com>
---
 drivers/staging/tidspbridge/gen/uuidutil.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 drivers/staging/tidspbridge/gen/uuidutil.c

Comments

Andy Shevchenko July 9, 2010, 11:37 p.m. UTC | #1
On Sat, Jul 10, 2010 at 1:48 AM, Rene Sapiens <rene.sapiens@ti.com> 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 <rene.sapiens@ti.com>
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
>
>
diff mbox

Patch

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++);