Re: [PATCH] staging:iio:tsl2563 rewrite probe error handling

2012-03-08 Thread Dan Carpenter
On Thu, Mar 08, 2012 at 07:51:07PM -0800, Grant Grundler wrote: > Hi Jonathan! > > On Wed, Mar 7, 2012 at 3:28 AM, Jonathan Cameron wrote: > > Fundamentally an excellent patch fixing some real issues, > > Thank you! :) > > > but just > > because I'm in that sort of mood I'll be fussy about the

Re: [PATCH] staging:iio:tsl2563 rewrite probe error handling

2012-03-08 Thread Grant Grundler
Hi Jonathan! On Wed, Mar 7, 2012 at 3:28 AM, Jonathan Cameron wrote: > Fundamentally an excellent patch fixing some real issues, Thank you! :) > but just > because I'm in that sort of mood I'll be fussy about the fact it is > one patch. > > To nitpick, I'd have prefered this to be two patches.

[PATCH 12/17] staging: tidspbridge: remove dmm_init() and dmm_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The dmm module has a dmm_init() and a dmm_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbridg

[PATCH 10/17] staging: tidspbridge: remove io_init() and io_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The io module has a io_init() and a io_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- drivers/staging/tidspbrid

[PATCH 11/17] staging: tidspbridge: remove cmm_init() and cmm_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The cmm module has a cmm_init() and a cmm_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbridg

[PATCH 13/17] staging: tidspbridge: remove dev_init() and dev_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The dev module has a dev_init() and a dev_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbridg

[PATCH 14/17] staging: tidspbridge: simplify mgr_init()

2012-03-08 Thread Víctor Manuel Jáquez Leal
No functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- drivers/staging/tidspbridge/rmgr/mgr.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/staging/tidspbridge/rmgr/mgr.c b/drivers/staging/tidspbridge/rmgr/mgr.c index 938eea5..8a1e928 1006

[PATCH 15/17] staging: tidspbridge: remove gh_init() and gh_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The gh module has a gh_init() and a gh_exit(), but they don't do anything, they are just noops. This patch removes these functions. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- drivers/staging/tidspbridge/gen/gh.c | 18 -- drivers

[PATCH 17/17] staging: tidspbridge: remove nldr_init() and nldr_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The dynamic loader was called by node.c with an interface. This interface was also modified to avoid the use of nldr_init() and nldr_exit(). There is not functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbridge/include/dspbridge/nldr.h |2 - .../tidspbridge

[PATCH 16/17] staging: tidspbridge: remove ref counting in nldr.c

2012-03-08 Thread Víctor Manuel Jáquez Leal
The nldr module has a nldr_init() and a nldr_exit() whose only purpose is to keep a reference counting which is not used at all. This patch only removes the reference count variable, but not the functions, because they are used through an interface. There is no functional changes. Signed-off-by:

[PATCH 08/17] staging: tidspbridge: remove chnl_init() and chnl_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The chnl module has a chnl_init() and a chnl_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbr

[PATCH 06/17] staging: tidspbridge: remove strm_init() and strm_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The strm module has a strm_init() and a strm_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbr

[PATCH 09/17] staging: tidspbridge: remove msg_mod_init() and msg_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The msg module has a msg_mod_init() and a msg_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspb

[PATCH 07/17] staging: tidspbridge: remove rmm_init() and rmm_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The rmm module has a rmm_init() and a rmm_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbridg

[PATCH 05/17] staging: tidspbridge: remove disp_init() and disp_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The disp module has a disp_init() and a disp_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbr

[PATCH 04/17] staging: tidspbridge: remove node_init() and node_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The node module has a node_init() and a node_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbr

[PATCH 02/17] staging: tidspbridge: remove cod_init() and cod_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The cod module has a cod_init() and a cod_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbridg

[PATCH 00/17] staging: tidspbridge: remove unused references counting

2012-03-08 Thread Víctor Manuel Jáquez Leal
Almos all the modules in tidspbridge have a _init() and a _exit() functions, whose only purpose is to keep a reference counting. But that reference counting, in most of the cases, is utterly useless. This patch series removes most of the _init() and _exit() function in the tidspbridge modules, whe

[PATCH 03/17] staging: tidspbridge: remove proc_init() and proc_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The proc module has a proc_init() and a proc_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbr

[PATCH 01/17] staging: tidspbridge: remove drv_init() and drv_exit()

2012-03-08 Thread Víctor Manuel Jáquez Leal
The drv module has a drv_init() and a drv_exit() whose only purpose is to keep a reference counting which is not used at all. This patch removes these functions and the reference count variable. There is no functional changes. Signed-off-by: Víctor Manuel Jáquez Leal --- .../staging/tidspbridg

Re: [PATCH] net/hyperv: Use the built-in macro KBUILD_MODNAME for this driver

2012-03-08 Thread David Miller
From: Haiyang Zhang Date: Wed, 7 Mar 2012 12:02:00 -0800 > Signed-off-by: Haiyang Zhang > Signed-off-by: K. Y. Srinivasan > Cc: Olaf Hering Applied. ___ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman

Re: [PATCH] net/hyperv: Advertise hv_netvsc instead of netvsc as driver name

2012-03-08 Thread Greg KH
On Thu, Mar 08, 2012 at 07:38:20PM +0100, Olaf Hering wrote: > On Thu, Mar 08, Greg KH wrote: > > > On Thu, Mar 08, 2012 at 05:12:21PM +0100, Olaf Hering wrote: > > > On Thu, Mar 08, Greg KH wrote: > > > > > > > > hwinfo uses it to recognize a network interface (storage in case of > > > > > hv_st

Re: [PATCH] net/hyperv: Advertise hv_netvsc instead of netvsc as driver name

2012-03-08 Thread Olaf Hering
On Thu, Mar 08, Greg KH wrote: > On Thu, Mar 08, 2012 at 05:12:21PM +0100, Olaf Hering wrote: > > On Thu, Mar 08, Greg KH wrote: > > > > > > hwinfo uses it to recognize a network interface (storage in case of > > > > hv_storvsc). > > > > > > That tool should report the real module name, not rely

Re: [PATCH 3.0.y 0/4] Re: lirc_serial spuriously claims assigned port and irq to be in use

2012-03-08 Thread Greg Kroah-Hartman
On Wed, Mar 07, 2012 at 02:17:09PM -0600, Jonathan Nieder wrote: > Greg Kroah-Hartman wrote: > > On Fri, Mar 02, 2012 at 02:39:13PM -0600, Jonathan Nieder wrote: > >> Ben Hutchings wrote: > >>> On Thu, 2012-03-01 at 21:45 -0600, Jonathan Nieder wrote: > > Would some of these patches (e.g., at

Re: [PATCH] net/hyperv: Advertise hv_netvsc instead of netvsc as driver name

2012-03-08 Thread Greg KH
On Thu, Mar 08, 2012 at 05:12:21PM +0100, Olaf Hering wrote: > On Thu, Mar 08, Greg KH wrote: > > > > hwinfo uses it to recognize a network interface (storage in case of > > > hv_storvsc). > > > > That tool should report the real module name, not rely on the name to > > match based on the structu

RE: (un)loadable module support for zcache

2012-03-08 Thread Dan Magenheimer
> From: Andor Daam [mailto:andor.d...@googlemail.com] > Subject: Re: (un)loadable module support for zcache > > 2012/3/8 Dan Magenheimer > > > > > From: Florian Schmaus [mailto:fschm...@gmail.com] > > > Subject: Re: (un)loadable module support for zcache > > > > > > This should allow backends to

Re: (un)loadable module support for zcache

2012-03-08 Thread Andor Daam
2012/3/8 Dan Magenheimer > > > From: Florian Schmaus [mailto:fschm...@gmail.com] > > Subject: Re: (un)loadable module support for zcache > > > > On 03/05/12 17:57, Dan Magenheimer wrote: > > > I think the answer here is for cleancache (and frontswap) to > > > support "lazy pool creation".  If a ba

Re: [PATCH] net/hyperv: Advertise hv_netvsc instead of netvsc as driver name

2012-03-08 Thread Olaf Hering
On Thu, Mar 08, Greg KH wrote: > > hwinfo uses it to recognize a network interface (storage in case of > > hv_storvsc). > > That tool should report the real module name, not rely on the name to > match based on the structure, if you really care about the real module > name. Its about the driver

RE: (un)loadable module support for zcache

2012-03-08 Thread Dan Magenheimer
> From: Florian Schmaus [mailto:fschm...@gmail.com] > Subject: Re: (un)loadable module support for zcache > > On 03/05/12 17:57, Dan Magenheimer wrote: > > I think the answer here is for cleancache (and frontswap) to > > support "lazy pool creation". If a backend has not yet > > registered when a

Re: [PATCH] net/hyperv: Advertise hv_netvsc instead of netvsc as driver name

2012-03-08 Thread Greg KH
On Thu, Mar 08, 2012 at 07:16:16AM +0100, Olaf Hering wrote: > On Wed, Mar 07, Greg KH wrote: > > > On Wed, Mar 07, 2012 at 09:17:46PM +0100, Olaf Hering wrote: > > > On Wed, Mar 07, Haiyang Zhang wrote: > > > > > > > > > > @@ -482,7 +484,7 @@ MODULE_DEVICE_TABLE(vmbus, id_table); > > > > > >

Re: (un)loadable module support for zcache

2012-03-08 Thread Florian Schmaus
On 03/05/12 17:57, Dan Magenheimer wrote: I think the answer here is for cleancache (and frontswap) to support "lazy pool creation". If a backend has not yet registered when an init_fs/init call is made, cleancache (or frontswap) must record the attempt and generate a valid "fake poolid" to retu