Re: arch/powerpc/kernel/cacheinfo.c: Possible null pointer dereference

2011-02-13 Thread Michael Ellerman
On Sat, 2011-02-12 at 10:08 +, David Binderman wrote: > Hello there, > > I just tried out cppcheck-1.47 on the linux-2.6.38-rc4 source code. > > It said > > [arch/powerpc/kernel/cacheinfo.c:380]: (error) Possible null pointer > dereference: cache - otherwise it is redundant to check if cache

[git pull] Documentation changes and an SPI bug fix

2011-02-13 Thread Grant Likely
Hi Linus, A set of mostly documentation changes, but I also had an spi bug fix that I needed to send to you, so I've sent it all in one pull req. g. The following changes since commit d2478521afc20227658a10a8c5c2bf1a2aa615b3: char/ipmi: fix OOPS caused by pnp_unregister_driver on unregistered d

Re: [RFC] Inter-processor Mailboxes Drivers

2011-02-13 Thread Linus Walleij
2011/2/12 Sundar : > At least I would like this; I wanted to generalize such mailbox IPCs > right from the day when I was working on one, but coudnt really > work on that. > >>    2. Does something like this already exist? > > Not generic as you say; but apart from the OMAP platforms, > you could

Re: [RFC] Inter-processor Mailboxes Drivers

2011-02-13 Thread Linus Walleij
2011/2/11 Meador Inge : > This would entail the traditional > generic/specific driver split: > >    1. Hardware specific bits somewhere under '.../arch/*'.  Drivers >       for the MPIC message registers on Power and OMAP4 mailboxes, for >       example. Having any drivers under arch/* is no good

Re: Resources used by driver ?

2011-02-13 Thread Michael Ellerman
On Thu, 2011-02-10 at 11:08 +0100, Guillaume Dargaud wrote: > Thanks to the advice I received here, I now have my first 'real' Linux driver > up and running and am now at the optimization stage. > > Is it possible to see the resources consumed by a module ? They don't show in > 'ps/top' but I'm

[git pull] Documentation changes and an SPI bug fix

2011-02-13 Thread Grant Likely
[Resend: Android insisted on sending HTML, so it was rejected by LKML] Hi Linus, A set of mostly documentation changes, but I also had an spi bug fix that I needed to send to you, so I've sent it all in one pull req. g. The following changes since commit d2478521afc20227658a10a8c5c2bf1a2aa615b3

[PATCH v2 3/3] tcm ibmvscsis driver

2011-02-13 Thread FUJITA Tomonori
This is the second version of tcm ibmvscsis driver. You can find the first version at: http://marc.info/?t=12973408564&r=1&w=2 The changes are: - send VIOSRP_MAD_NOT_SUPPORTED for unknown mad type requests. - fix inquiry typo - sends task management response (for now, 'NOT SUPPORTED'). - rem