[dts] [PATCH] framework: fix not convert port numa to int

Qiu, Michael michael.qiu at intel.com
Tue Jan 27 04:33:30 CET 2015


On 1/27/2015 8:39 AM, Yong Liu wrote:
> Signed-off-by: Marvinliu <yong.liu at intel.com>
> ---
>  framework/config.py | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/framework/config.py b/framework/config.py
> index 140c84b..948609a 100755
> --- a/framework/config.py
> +++ b/framework/config.py
> @@ -79,7 +79,10 @@ class UserConf():
>  
>          for param in port.split(','):
>              (key, _, value) = param.partition('=')
> -            portDict[key] = value
> +            if key == 'numa':
> +                portDict[key] = int(value)
> +            else:
> +                portDict[key] = value
>          return portDict
>  
>  
Acked-by: Michael Qiu <michael.qiu at intel.com>


More information about the dts mailing list