Thread (30 messages) 30 messages, 4 authors, 2014-11-05

[PATCH 01/15] [media] Move mediabus format definition to a more standard place

From: Boris Brezillon <hidden>
Date: 2014-11-05 15:32:26
Also in: linux-api, linux-media, lkml

On Wed, 5 Nov 2014 17:00:25 +0200
Sakari Ailus [off-list ref] wrote:
Hi,

On Tue, Nov 04, 2014 at 12:09:59PM +0100, Hans Verkuil wrote:
quoted
Well, I gave two alternatives :-)

Both are fine as far as I am concerned, but it would be nice to hear
what others think.
In fact I think both are good options. :-)

I'd perhaps lean towards the latter, for it has the benefit of pushing to
use the new definitions and the old ones can be deprecated (and eventually
removed in year 2030 or so ;)).

Either way, preprocessor macros should be used instead of an enum since that
way it's possible to figure out at that phase whether something is defined
or not. There is for enums, too, but it results in a compilation error...
I don't get that last part :-).

-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help