|
patch能生成出来,用diff -uN a.c.old a.c > a.patch,
但是在patch里面没有自己的标识,因为看到老外提交的patch里面,很多都是有自己email的,这个宏不知道在哪里设置才能加入到patch里?
就是这个signed-off-by
- Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
- ---
- .../hyperthreading/ht_affinity/smt_smp_affinity.sh | 3 +--
- .../hyperthreading/ht_enabled/smt_smp_enabled.sh | 3 +--
- 2 files changed, 2 insertions(+), 4 deletions(-)
- diff --git a/testcases/kernel/sched/hyperthreading/ht_affinity/smt_smp_affinity.sh b/testcases/kernel/sched/hyperthreading/ht_affinity/smt_smp_affinity.sh
- index 109800d..0a33f51 100755
- --- a/testcases/kernel/sched/hyperthreading/ht_affinity/smt_smp_affinity.sh
- +++ b/testcases/kernel/sched/hyperthreading/ht_affinity/smt_smp_affinity.sh
- @@ -44,8 +44,7 @@ if [ -f ./ht_enabled ];then
- if [ $ret_value -ne 0 ];then
- tst_resm TCONF "SMT/SMP is not supported"
- tst_resm TINFO "End: SMT/SMP Affinity"
- - TFAILCNT=$(( $TFAILCNT+1 ))
- - exit $TFAILCNT
- + exit 0
- fi
- else
- tst_resm TBROK "ht_enabled:File not found"
- diff --git a/testcases/kernel/sched/hyperthreading/ht_enabled/smt_smp_enabled.sh b/testcases/kernel/sched/hyperthreading/ht_enabled/smt_smp_enabled.sh
- index 8b8a909..e234ea4 100755
- --- a/testcases/kernel/sched/hyperthreading/ht_enabled/smt_smp_enabled.sh
- +++ b/testcases/kernel/sched/hyperthreading/ht_enabled/smt_smp_enabled.sh
- @@ -41,8 +41,7 @@ if [ -f ./ht_enabled ];then
- if [ $ret_value -ne 0 ];then
- tst_resm TCONF "SMT/SMP is not supported"
- tst_resm TINFO "End: SMT/SMP Enabled"
- - TFAILCNT=$(( $TFAILCNT+1 ))
- - exit $TFAILCNT
- + exit 0
- fi
- else
- tst_resm TBROK "ht_enabled:File not found"
- --
- 1.6.2.4
复制代码 |
|