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

Bug#269721: bug



At Mon, 06 Sep 2004 14:38:06 +0900,
GOTO Masanori wrote:
> At Thu, 2 Sep 2004 21:11:51 -0700,
> David Schleef wrote:
> > Subject: Remove __kernel_dev_t definition from linux/types.h
> > Package: linux-kernel-headers
> > Version: 2.5.999-test7-bk-17
> > Severity: wishlist
> > 
> > Re:
> > 
> > >     - Also export __kernel_dev_t for util-linux/cryptoloop (Closes:
> > >     220991).
> > 
> > This causes problems when building uclibc, since it defines
> > __kernel_dev_t in its own headers.  I recently switched uclibc
> > to use linux-kernel-headers instead of straight kernel headers
> > for the same reason that glibc -- it's the Right Way To Do It.
> > 
> > This is wishlist, since I currently have a workaround in uclibc.
> 
> David, if so, then how to resolve util-linux report #220991?

I looked at uclibc, and I wondered __kernel_dev_t defines as unsigned
short.  In 2.6 linux kernel adopts 32bit kernel dev_t.  Plus, it seems
your hack is applied only for arm.  Why do we need to hide
__kernel_dev_t from lkh headers?  I would like to hear your opinion.

Regards,
-- gotom



Reply to: