]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
irq/platform-msi: Fix comment about maximal MSIs
authorMatthias Brugger <mbrugger@suse.com>
Mon, 16 Jan 2017 18:48:20 +0000 (19:48 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 17 Jan 2017 08:53:14 +0000 (09:53 +0100)
Commit aff5e06b0dda ("irq/platform-MSI: Increase the maximum MSIs the MSI
framework can support") increased the maximum MSIs to 2048.

Fix the comment to reflect that.

Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Cc: gregkh@linuxfoundation.org
Cc: majun258@huawei.com
Link: http://lkml.kernel.org/r/1484592500-15400-1-git-send-email-mbrugger@suse.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/base/platform-msi.c

index be6a599bc0c1a8da08d0a20f31d7bc054dd1a972..0fc7c4da77563226ad0a36a6fc7dbb8a26948793 100644 (file)
@@ -206,7 +206,7 @@ platform_msi_alloc_priv_data(struct device *dev, unsigned int nvec,
 {
        struct platform_msi_priv_data *datap;
        /*
-        * Limit the number of interrupts to 256 per device. Should we
+        * Limit the number of interrupts to 2048 per device. Should we
         * need to bump this up, DEV_ID_SHIFT should be adjusted
         * accordingly (which would impact the max number of MSI
         * capable devices).