Re: [Patch] include blktrace_api.h in headers_install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 16, 2008 at 01:24:25PM +0200, Martin Peschke wrote:
> +#ifdef __KERNEL__
> +	char name[BDEVNAME_SIZE];	/* output */
> +#else
> +	char name[32];			/* output */
> +#endif

Bad idea. BDEVNAME_SIZE is not exported and therfor not part of the
public API. As this defines a userspace API it must not change anyway.

Bastian

-- 
No one can guarantee the actions of another.
		-- Spock, "Day of the Dove", stardate unknown
--
To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux