[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101116031429.GA643@nibiru.local>
Date: Tue, 16 Nov 2010 04:14:30 +0100
From: Enrico Weigelt <weigelt@...ux.de>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH] device-core: sysfs open - close notify
* Onkalo Samu <samu.p.onkalo@...ia.com> wrote:
<snip />
Perhaps it also could be an more generic event notification op,
where some event id or bitmask tells what actually happened ?
Something like:
...
void (*notify)(struct kobject *, struct attribute *, int event, void * param);
...
That would at least save one ptr of space and can be extended for
other stuff later.
cu
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt@...ux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
--
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