summaryrefslogtreecommitdiff
path: root/CodingStyle
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-04-27 09:46:26 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-04-27 09:46:26 +0200
commit35346a6fe682705e36f51534cd5ab54ed7192cbe (patch)
tree66c346b7649c0e000c248440107124c312f60ec9 /CodingStyle
parentab19a9757695b6a90d73bb3782584e5995195b24 (diff)
ring: Mark potentially unused parameters as such
The parameters to tpacket_uhdr_vlan_tci() and tpacket_uhdr_vlan_proto() might be unused, depending on the definition of HAVE_TPACKET3 and TP_STATUS_VLAN_TPID_VALID. Thus, mark them with __maybe_unused to prevent -Wunused-parameter warnings. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'CodingStyle')
0 files changed, 0 insertions, 0 deletions
02c54bc951fca884ba5719f42a27e8240965bf (diff)
cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend
The AVS GET_PMAP command does return a P-state along with the P-map information. However, that P-state is the initial P-state when the P-map was first downloaded to AVS. It is *not* the current P-state. Therefore, we explicitly retrieve the P-state using the GET_PSTATE command. Signed-off-by: Markus Mayer <mmayer@broadcom.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/tests/python-use.c')