Commit a6f05b97d1ba87326bd96f3da9fef994830d6994

Authored by Dominik Brodowski
Committed by Rafael J. Wysocki
1 parent 94956eed14

PM / QoS: Set cpu_dma_pm_qos->name

Since commit 4a31a334, the name of this misc device is not initialized,
which leads to a funny device named /dev/(null) being created and
/proc/misc containing an entry with just a number but no name. The latter
leads to complaints by cryptsetup, which caused me to investigate this
matter.

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -70,6 +70,7 @@
70 70 };
71 71 static struct pm_qos_object cpu_dma_pm_qos = {
72 72 .constraints = &cpu_dma_constraints,
  73 + .name = "cpu_dma_latency",
73 74 };
74 75  
75 76 static BLOCKING_NOTIFIER_HEAD(network_lat_notifier);