Thread (62 messages) 62 messages, 5 authors, 2021-12-09

Re: [patch V2 18/36] genirq/msi: Add msi_device_data::properties

From: Thomas Gleixner <hidden>
Date: 2021-12-07 12:53:40
Also in: linux-arm-kernel, linux-iommu, linux-pci, lkml, xen-devel

On Tue, Dec 07 2021 at 13:47, Thomas Gleixner wrote:
On Tue, Dec 07 2021 at 10:04, Cédric Le Goater wrote:
quoted
quoted
+/**
+ * msi_device_set_properties - Set device specific MSI properties
+ * @dev:	Pointer to the device which is queried
+ * @prop:	Properties to set
+ */
+void msi_device_set_properties(struct device *dev, unsigned long prop)
+{
+	if (WARN_ON_ONCE(!dev->msi.data))
+		return ;
+	dev->msi.data->properties = 0;
It would work better if the prop variable was used instead of 0.

With that fixed,
Indeed. Copy & pasta w/o brain usage ...
I've pushed out an incremental fix on top. Will be folded back.

     git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git msi-v2-part-3-1

Thanks,

        tglx
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help