Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
depmod: Support modules.order with duplicate lines
If the same line exists multiple times in modules.order, consider only the first, since this is the earliest position requested. This also makes sure that index iterator never turns positive or would ever trigger a signed integer overflow. Signed-off-by: Tobias Stoeckmann <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Link: #158 Signed-off-by: Lucas De Marchi <[email protected]>
- Loading branch information