]> git.ipfire.org Git - thirdparty/linux.git/commit
PCI: Rename 'added' to 'add_list'
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 29 Apr 2026 12:26:08 +0000 (15:26 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Jun 2026 17:07:04 +0000 (12:07 -0500)
commit29bfc3523fa4e41aef2b67ce086dbfb2ccb2564f
tree4a90e43e2ad4dd77674c10c9a418ba252e7f3156
parent432b936fa6b7a8ad5d7ea55be9522c6dc24b9554
PCI: Rename 'added' to 'add_list'

The resource fitting algorithm uses different names from the list holding
the optional sizes: added, add_head, add_list, and realloc_head. 'add_list'
sounds the most natural and some of the related variables also use 'add'
such as 'add_size'.

To reduce variation, rename 'added' and 'add_head' to 'add_list'.  Also
rename some 'realloc_head' cases selectively to 'add_list'.

While it would be nice to rename every 'realloc_head' to 'add_list' for
consistency, it might create a backport headache with all the work going
into this algorithm that may need to be eventually backported. Thus, it's
better to leave 'realloc_head' as is for now.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260429122617.7324-3-ilpo.jarvinen@linux.intel.com
drivers/pci/pci.h
drivers/pci/setup-bus.c