nt_fun_gen: add list() to fix iterator (for encoder)
nt_fun_gen: add list() to fix iterator (for encoder)

Change-Id: Iaf123f3eb37a05e50806a44311b87203c60105aa
(cherry picked from commit edc5ebde1e54b78cc32ca52fa0ba3255ea223f0d)

intelxed/xed,intelxed/xed,intelxed/xed,intelxed/xed