From: "Bryan O'Sullivan" <bos@pathscale.com>
To: Greg KH <greg@kroah.com>
Cc: Roland Dreier <rdreier@cisco.com>,
rolandd@cisco.com, gregkh@suse.de, akpm@osdl.org,
davem@davemloft.net, linux-kernel@vger.kernel.org,
openib-general@openib.org
Subject: Re: [PATCH 8 of 20] ipath - sysfs support for core driver
Date: Thu, 09 Mar 2006 15:59:37 -0800 [thread overview]
Message-ID: <1141948777.10693.61.camel@serpentine.pathscale.com> (raw)
In-Reply-To: <20060309234607.GA26898@kroah.com>
On Thu, 2006-03-09 at 15:46 -0800, Greg KH wrote:
> On Thu, Mar 09, 2006 at 03:18:49PM -0800, Roland Dreier wrote:
>
> Thanks for CC:ing me, but where were the originals of these posted?
My patch posting script screwed up. Only Roland got them, even though
the envelopes were all correct.
> > > +static ssize_t show_atomic_stats(struct device_driver *dev, char *buf)
> > > +{
> > > + memcpy(buf, &ipath_stats, sizeof(ipath_stats));
> > > +
> > > + return sizeof(ipath_stats);
> > > +}
> >
> > I think putting a whole binary struct in a sysfs attribute is
> > considered a no-no.
>
> That's an understatement, where is the large stick to thwap the author
> of this code...
I'd like to understand why, though. As I already explained, it's a
smallish structure (< 1KB), and I can use the special binary sysfs
attribute goo for it if you insist, but ... why?
<b
next prev parent reply other threads:[~2006-03-09 23:59 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ef8042c934401522ed3f.1141922821@localhost.localdomain>
2006-03-09 23:18 ` [PATCH 8 of 20] ipath - sysfs support for core driver Roland Dreier
2006-03-09 23:32 ` Bryan O'Sullivan
2006-03-10 0:35 ` Revenge of the sysfs maintainer! (was Re: [PATCH 8 of 20] ipath - sysfs support for core driver) Greg KH
2006-03-10 0:46 ` Bryan O'Sullivan
2006-03-10 1:00 ` Greg KH
2006-03-10 4:58 ` Bryan O'Sullivan
2006-03-10 6:34 ` Greg KH
2006-03-10 15:53 ` Dave Jones
2006-03-10 7:57 ` Arjan van de Ven
2006-03-10 13:51 ` Bryan O'Sullivan
2006-03-10 14:06 ` Arjan van de Ven
2006-03-10 15:55 ` Bryan O'Sullivan
2006-03-10 16:24 ` Arjan van de Ven
2006-03-10 16:36 ` Bryan O'Sullivan
2006-03-10 16:41 ` Arjan van de Ven
2006-03-10 16:25 ` Dave Jones
2006-03-10 16:35 ` Bryan O'Sullivan
2006-03-10 16:48 ` Greg KH
2006-03-10 16:49 ` Bryan O'Sullivan
2006-03-10 15:55 ` Dave Jones
2006-03-10 13:58 ` [openib-general] " Talpey, Thomas
2006-03-09 23:46 ` [PATCH 8 of 20] ipath - sysfs support for core driver Greg KH
2006-03-09 23:48 ` Roland Dreier
2006-03-09 23:59 ` Bryan O'Sullivan [this message]
2006-03-10 1:02 ` Greg KH
2006-03-10 0:35 [PATCH 0 of 20] [RFC] ipath driver - another round for review Bryan O'Sullivan
2006-03-10 0:35 ` [PATCH 8 of 20] ipath - sysfs support for core driver Bryan O'Sullivan
2006-03-10 1:11 ` Greg KH
2006-03-10 5:09 ` Bryan O'Sullivan
2006-03-05 3:08 ` Pavel Machek
2006-03-10 6:37 ` Greg KH
2006-03-10 14:59 ` Roland Dreier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1141948777.10693.61.camel@serpentine.pathscale.com \
--to=bos@pathscale.com \
--cc=akpm@osdl.org \
--cc=davem@davemloft.net \
--cc=greg@kroah.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=openib-general@openib.org \
--cc=rdreier@cisco.com \
--cc=rolandd@cisco.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.