[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ed10ee420804150008q27eaf88au27abf66e6731bbf7@mail.gmail.com>
Date: Tue, 15 Apr 2008 00:08:39 -0700
From: "SL Baur" <steve@...acs.org>
To: "Dan Williams" <dan.j.williams@...el.com>
Cc: gregkh@...e.de, linux-kernel@...r.kernel.org, kay.sievers@...y.org,
neilb@...e.de, htejun@...il.com, hpa@...or.com, lkml@....ca
Subject: Re: [PATCH] sysfs: add /sys/dev/{char, block} to lookup sysfs path by major:minor
On 4/14/08, Dan Williams <dan.j.williams@...el.com> wrote:
> On Mon, Apr 14, 2008 at 8:13 PM, SL Baur <steve@...acs.org> wrote:
> > On 4/14/08, Dan Williams <dan.j.williams@...el.com> 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?
O.K. I'll look into it. The call paths into format_dev_t are clear,
the ones into print_dev_t look a bit more global.
-sb
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists