summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorJan Beulich2015-06-02 17:07:01 +0200
committerStefano Stabellini2015-06-02 17:07:01 +0200
commitd61bb2482dc0c7426f451f23ba7e2748ae2cc06d (patch)
tree6d1c5b871804c0dd3d92d764ef4acb0cea0dfe20 /scripts/checkpatch.pl
parentxen/MSI: don't open-code pass-through of enable bit modifications (diff)
downloadqemu-d61bb2482dc0c7426f451f23ba7e2748ae2cc06d.tar.gz
qemu-d61bb2482dc0c7426f451f23ba7e2748ae2cc06d.tar.xz
qemu-d61bb2482dc0c7426f451f23ba7e2748ae2cc06d.zip
xen/pt: consolidate PM capability emu_mask
There's no point in xen_pt_pmcsr_reg_{read,write}() each ORing PCI_PM_CTRL_STATE_MASK and PCI_PM_CTRL_NO_SOFT_RESET into a local emu_mask variable - we can have the same effect by setting the field descriptor's emu_mask member suitably right away. Note that xen_pt_pmcsr_reg_write() is being retained in order to allow later patches to be less intrusive. This is a preparatory patch for XSA-131. Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions