On 11/09/12 19:38, Mauro Carvalho Chehab wrote: > Em 16-08-2012 22:35, Antti Palosaari escreveu: >> [snip] >> + <para>Possible values: 0, 1, INT_MIN</para> > > Hmm... INT_MIN... are you sure it is portable on all Linux compilers? > > I don't like the idea on trusting on whatever C/C++/Java/... compiler (or some interpreter) > would define as "INT_MIN". > > The better is to define a value for that, or, instead, to define something > at the API header file that won't cause troubles with 32 bits or 64 bits > userspace, like defining it as: > > #define DVB_AUTO_LNA ((u32)~0) > INT_MIN is defined in limits.h which is an ISO standard header. Other parts of the kernel also use INT_MIN, e.g. linux/cpu.h and linux/netfilter_ipv4.h both reference INT_MIN from limits.h. -- David Waring, Software Engineer, BBC Research & Development -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html