commit | 501bb68a66cfc0bc2a2458483400cb49daca974f | [log] [tgz] |
---|---|---|
author | David E. Box <david.e.box@linux.intel.com> | Tue Mar 16 19:44:54 2021 -0700 |
committer | Hans de Goede <hdegoede@redhat.com> | Tue Mar 23 21:05:47 2021 +0100 |
tree | 8fd4e747496e77f162805757cb622d3b24f251b7 | |
parent | 3feb52a2b8d97989823f1aa9cfff281b8475ff4e [diff] |
platform/x86: intel_pmt_class: Initial resource to 0 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>