Repository navigation
Commit f090682
net: use %*pb[l] to print bitmaps including cpumasks and nodemasks
printk and friends can now format bitmaps using '%*pb[l]'. cpumask
and nodemask also provide cpumask_pr_args() and nodemask_pr_args()
respectively which can be used to generate the two printf arguments
necessary to format the specified cpu/nodemask.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>1 parent 1a40243 commit f090682
2 files changed
Lines changed: 8 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
617 | | - | |
618 | | - | |
| 617 | + | |
619 | 618 | | |
620 | 619 | | |
621 | 620 | | |
| |||
626 | 625 | | |
627 | 626 | | |
628 | 627 | | |
629 | | - | |
630 | | - | |
631 | | - | |
632 | | - | |
633 | | - | |
634 | | - | |
| 628 | + | |
635 | 629 | | |
636 | | - | |
637 | 630 | | |
638 | | - | |
639 | | - | |
| 631 | + | |
| 632 | + | |
640 | 633 | | |
641 | 634 | | |
642 | 635 | | |
| |||
1090 | 1083 | | |
1091 | 1084 | | |
1092 | 1085 | | |
1093 | | - | |
1094 | | - | |
| 1086 | + | |
1095 | 1087 | | |
1096 | 1088 | | |
1097 | 1089 | | |
| |||
1117 | 1109 | | |
1118 | 1110 | | |
1119 | 1111 | | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
1125 | | - | |
| 1112 | + | |
1126 | 1113 | | |
1127 | | - | |
1128 | | - | |
| 1114 | + | |
1129 | 1115 | | |
1130 | 1116 | | |
1131 | 1117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments