diff options
| author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-04-29 15:26:08 +0300 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-06-23 12:07:04 -0500 |
| commit | 29bfc3523fa4e41aef2b67ce086dbfb2ccb2564f (patch) | |
| tree | 4a90e43e2ad4dd77674c10c9a418ba252e7f3156 /scripts | |
| parent | 432b936fa6b7a8ad5d7ea55be9522c6dc24b9554 (diff) | |
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
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
