cpuhotplug_hotplug.sh: 'part' here is a variable
Han
PATCH 1/1 cpuhotplug_hotplug.sh: 'part' here is a variable
Here 'part' is not a command or a function, just a variable, should not add ()
Signed-off-by Ning Han <[email protected]<mailto:[email protected]>>
---testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_hotplug.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
testcases/kernel/hotplug/cpu_hotplug/include/cpuhotplug_hotplug.sh +2 -2
@@ -150,8 +150,8 @@ get_present_cpus() range_low=$(echo $part | cut -d - -f 1) range_high=$(echo $part | cut -d - -f 2) else - range_low=$(part) - range_high=$(part) + range_low=$part + range_high=$part fi for cpu in $(seq $range_low $range_high); do if [ -e /sys/devices/system/cpu/cpu$cpu ]; then
--
2.7.4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20161201/177382be/attachment-0001.html>
PATCH 1/1 cpuhotplug_hotplug.sh: 'part' here is a variable
Hi!
Quoted 1 line
Signed-off-by Ning Han <[email protected]<mailto:[email protected]>>
^
I've removed the
mailto: part here
And pushed, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]