platform/x86: intel_pmt_class: Initial resource to 0
mainline inclusion from mainline-v5.13-rc1 commit 501bb68a category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I596K9 CVE: NA Intel-SIG: commit 501bb68a platform/x86: intel_pmt_class: Initial resource to 0. Backport for intel PMT (Platform Monitoring Technology) support -------------------------------- Initialize the struct resource in intel_pmt_dev_register to zero to avoid a fault should the char *name field be non-zero. Signed-off-by:David E. Box <david.e.box@linux.intel.com> Link: https://lore.kernel.org/r/20210317024455.3071477-1-david.e.box@linux.intel.com Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
yingbao jia <yingbao.jia@intel.com> Signed-off-by:
Jun Tian <jun.j.tian@intel.com>
Loading
Please sign in to comment