This repository was archived by the owner on Mar 2, 2026. It is now read-only.
Commit 3b9155c
committed
Print warning when kernel argument has multiple buffer_location attributes
The auto-discovery string parsing of per kernel argument buffer_location
intended to concatenate multiple attributes into a space-separated string,
but in fact only retains the value of the last buffer_location attribute
since read_string_counters() does not append but assign the string value.
Since multiple buffer_location attributes are not supported, print a
warning message, and select the last buffer_location attribute such that
the functional behaviour of buffer_location parsing remains unchanged.
Signed-off-by: Peter Colberg <peter.colberg@intel.com>1 parent 5712d6d commit 3b9155c
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
688 | | - | |
689 | 688 | | |
690 | 689 | | |
691 | 690 | | |
| |||
706 | 705 | | |
707 | 706 | | |
708 | 707 | | |
| 708 | + | |
709 | 709 | | |
710 | 710 | | |
711 | | - | |
712 | | - | |
713 | | - | |
714 | | - | |
715 | | - | |
| 711 | + | |
716 | 712 | | |
717 | 713 | | |
718 | 714 | | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
719 | 721 | | |
720 | 722 | | |
721 | 723 | | |
| |||
0 commit comments