aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2023-01-04 20:05:27 -0800
committerJakub Kicinski <[email protected]>2023-01-05 22:13:39 -0800
commita8f947073f4ae489e8b9f3c19a17341cb260f660 (patch)
treef8e5eee88e263b7faac89f97267f44c500e69bd9 /lib/memory-notifier-error-inject.c
parent731d69a6bd13b7c0cdbd3607edfa681269d54828 (diff)
devlink: restart dump based on devlink instance ids (nested)
Use xarray id for cases of simple sub-object iteration. We'll now use the state->instance for the devlink instances and state->idx for subobject index. Moving the definition of idx into the inner loop makes sense, so while at it also move other sub-object local variables into the loop. Reviewed-by: Jiri Pirko <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions