Thread (69 messages) 69 messages, 15 authors, 2016-05-26

[PATCH V7 03/11] pci, of: Move the PCI I/O space management to PCI core code.

From: arnd@arndb.de (Arnd Bergmann)
Date: 2016-05-11 11:02:24
Also in: linux-acpi, linux-pci, lkml

On Wednesday 11 May 2016 09:36:58 Tomasz Nowicki wrote:
quoted
I understand that this moves code around, but those in-function
#ifdefs aren't nice.  Any chance to get rid of them but putting whole
functions under the #ifdef?
This is a __weak implementation, so assuming I would move #ifdef out of 
function I need to provide another empty __weak stub. I do not know 
which solution is more ugly. In any case we can do that cleanup separately.
I'd vote for just dropping the __weak here, given that there is no
non-weak implementation. If we end up needing to override this for
some architecture or host bridge in the future, we can think about how
to best do that then.

I agree that should be a separate patch, this one should only move
code from one file to another.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help