From 3748353865894bac0f288d56a7ae881854cd1c87 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Thu, 20 Nov 2008 14:53:42 -0200 Subject: Fix Ubuntu module removal script From: Devin Heitmueller The generated Makefile.media had entries in it's remove list for Ubuntu that were concatenated together. Add a space when concatenating together the various lists (so there is a space between the lists) Thanks for Mike Krufky for pointing this out and testing the fix. Signed-off-by: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- v4l/scripts/make_makefile.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'v4l') diff --git a/v4l/scripts/make_makefile.pl b/v4l/scripts/make_makefile.pl index ce6f00516..43c563d47 100755 --- a/v4l/scripts/make_makefile.pl +++ b/v4l/scripts/make_makefile.pl @@ -166,10 +166,10 @@ sub removeubuntu() my $filelist; while ( my ($dir, $files) = each(%instdir) ) { - $filelist .= join(' ', keys %$files); + $filelist .= ' '. join(' ', keys %$files); } while ( my ($dir, $files) = each(%obsolete) ) { - $filelist .= join(' ', keys %$files); + $filelist .= ' ' . join(' ', keys %$files); } $filelist =~ s/\s+$//; -- cgit v1.2.3 From ad8467d60299b1d9be5553f7de6bfc5ecfac72c7 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Thu, 20 Nov 2008 09:40:13 +0100 Subject: compat.h: fix uninitialized_var macro From: Hans Verkuil Priority: normal Signed-off-by: Hans Verkuil --- v4l/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'v4l') diff --git a/v4l/compat.h b/v4l/compat.h index 98f57879b..253b3387a 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -324,7 +324,7 @@ usb_endpoint_is_int_in(const struct usb_endpoint_descriptor *epd) /* * uninitialized_var() macro */ -#define uninitialized_var(x) x +#define uninitialized_var(x) x = x #endif #endif -- cgit v1.2.3