Re: [PATCH 6/6 v3] ARM: Add support for the display controllers in VT8500 and WM8505

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul Mundt
Date: Monday, November 8, 2010 - 2:30 pm

On Tue, Nov 09, 2010 at 12:15:19AM +0300, Alexey Charkov wrote:
It's not a realistic situation. The only way this would trigger is if the
pointer you got handed is one that didn't go through the probe path or
was otherwise corrupted. If it was corrupted, you're going to notice
regardless. The driver core does sensible refcounting already, there's no
need to second guess it.

Those exports go back a ways. The idea with the _GPL exports was not to
change symbol export behaviour retroactively, so the old ones stay the
way they were and newer stuff can choose which way it wants to go. If you
are not using this driver with an out-of-tree non-GPLed module then you
are advised to use the GPL variants so others don't either.

No, regbase is BSS initialized, so it will already be cleared.

You're the only one who can answer that. I just noticed in your other
drivers that this is the pattern that you opted for, so I thought
that perhaps this was an oversight in the rop engine code.

Having said that, the general expectation is that a remove will balance
out the probe. If the probe is enabling random blocks then the remove
should be disabling them. If this driver is primarily used as a client by
the other drivers and you're concerned from it being ripped out
underneath them, then a bit more thinking and refcounting is needed. This
is however something that can be done later if its a direction you wish
to head in.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/6 v2] ARM: Add basic architecture support for ..., Russell King - ARM Linux, (Sun Nov 7, 9:57 am)
Re: [PATCH 1/6 v2] ARM: Add basic architecture support for ..., Russell King - ARM Linux, (Sun Nov 7, 10:00 am)
Re: [PATCH 1/6 v2] ARM: Add basic architecture support for ..., Russell King - ARM Linux, (Sun Nov 7, 10:17 am)
Re: [PATCH 6/6 v3] ARM: Add support for the display contro ..., Paul Mundt, (Mon Nov 8, 2:30 pm)
Re: [PATCH 6/6 v4] ARM: Add support for the display contro ..., Guennadi Liakhovetski, (Tue Nov 9, 12:36 am)
Re: [PATCH 6/6 v3] ARM: Add support for the display contro ..., Russell King - ARM Linux, (Tue Nov 9, 3:33 am)
Re: [PATCH 6/6 v3] ARM: Add support for the display contro ..., Russell King - ARM Linux, (Tue Nov 9, 4:04 am)
Re: [PATCH 6/6 v3] ARM: Add support for the display contro ..., Geert Uytterhoeven, (Tue Nov 9, 6:02 am)
Re: [PATCH 1/6 v4] ARM: Add basic architecture support for ..., Russell King - ARM Linux, (Wed Nov 10, 8:18 am)
Re: [PATCH 1/6 v5] ARM: Add basic architecture support for ..., Russell King - ARM Linux, (Thu Nov 11, 4:49 pm)
Re: [PATCH 5/6 v2] rtc: Add support for the RTC in VIA VT8 ..., Lars-Peter Clausen, (Sat Nov 13, 5:14 am)
Re: [PATCH 5/6 v3] rtc: Add support for the RTC in VIA VT8 ..., Lars-Peter Clausen, (Sun Nov 14, 8:50 am)
Re: [PATCH 5/6 v4] rtc: Add support for the RTC in VIA VT8 ..., Lars-Peter Clausen, (Wed Nov 24, 12:23 pm)
Re: [PATCH 1/6 v8] ARM: Add basic architecture support for ..., Russell King - ARM Linux, (Mon Dec 20, 12:15 pm)