The parameters of self.warning is inconsistent with its definition, So fix it. Signed-off-by: luzhipeng <luzhipeng@cestc.cn> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>