Skip to content

Commit

Permalink
PM / QoS: Set cpu_dma_pm_qos->name
Browse files Browse the repository at this point in the history
Since commit 4a31a33, 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>
  • Loading branch information
Dominik Brodowski authored and Rafael J. Wysocki committed Nov 7, 2011
1 parent 94956ee commit a6f05b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/power/qos.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ static struct pm_qos_constraints cpu_dma_constraints = {
};
static struct pm_qos_object cpu_dma_pm_qos = {
.constraints = &cpu_dma_constraints,
.name = "cpu_dma_latency",
};

static BLOCKING_NOTIFIER_HEAD(network_lat_notifier);
Expand Down

0 comments on commit a6f05b9

Please sign in to comment.