Re: [PATCH] sysfs: add /sys/dev/{char, block} to lookup sysfs path by major:minor

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: SL Baur <steve@...>
Cc: <gregkh@...>, <linux-kernel@...>, <kay.sievers@...>, <neilb@...>, <htejun@...>, <hpa@...>, <lkml@...>
Date: Tuesday, April 15, 2008 - 12:46 am

On Mon, Apr 14, 2008 at 8:13 PM, SL Baur <steve@xemacs.org> wrote:

Thanks for looking it over.  To be honest I was iffy about those
buffer sizes as well, and looking closer they are overkill.  Although,
they are smaller than the 32-byte buffer in bsg.c :-). 13-bytes is all
that is needed given a 12-bit major and 20-bit minor.  Care to send a
patch to fix up format_dev_t and print_dev_t?


Yes, appropriate.

Thanks,
Dan
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] sysfs: add /sys/dev/{char, block} to lookup sysf..., Dan Williams, (Tue Apr 15, 12:46 am)