[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 12 Dec 2007 09:03:14 -0200
From: Mauro Carvalho Chehab <mchehab@...radead.org>
To: Adrian Bunk <bunk@...nel.org>
Cc: Shane <gnome42@...il.com>, Brandon Philips <brandon@...p.org>,
linux-kernel@...r.kernel.org,
video4linux-list <video4linux-list@...hat.com>
Subject: Re: 2.6.24-rc5 "videobuf_read_start"
[drivers/media/video/videobuf-dvb.ko] undefined!
> Any objections against a later path that changes the exports to the
> general "immediately after the function" convention?
No objections. Please generate against "devel" branch on my -git, since
I did a patch fixing most CodingStyle issues reported by checkpatch.pl.
Several files under /media still uses the old convention of having such
things at the end of the file.
> It would have avoided at least two such bugs in this file alone since
> 2.6.23...
I'm afraid that this wouldn't avoid this bug, however.
The removal of the EXPORT_SYMBOL_GPL seemed to be the intention of
Brandon, since he renamed the function, removing the locks. I think he
didn't noticed that videobuf_dvb were using videobuf_read_start. The
patch I've just send fixes it properly.
Btw, Shane patch reveals a small trouble with EXPORT_SYMBOL_GPL: adding
the tag for a non-existing function didn't rise any error. IMO, it
should generate some compilation error, if you try to export a symbol
that doesn't exist at the file that is being compiled.
Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists