]> git.baikalelectronics.ru Git - kernel.git/commit
PNP / ACPI: avoid garbage in resource name
authorLiu ShuoX <shuox.liu@intel.com>
Tue, 16 Jul 2013 08:23:44 +0000 (16:23 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 17 Jul 2013 23:38:59 +0000 (01:38 +0200)
commitd332a5208b631564d841dd44846a55fdc8a762c1
treedbe6d7e2df3c9986d6175771d0520d6aacaecd8c
parentfab8704087f39fb9fba4b5a1e41243c02c14a201
PNP / ACPI: avoid garbage in resource name

Set temporary variable as 0 to avoid garbage string output from
/proc/iomem after register resources and reset to PNP dev name
later.

Signed-off-by: Liu ShuoX <shuox.liu@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/pnp/pnpacpi/rsparser.c
drivers/pnp/resource.c