Skip to contentSkip to conversation

irq/platform-msi: Fix comment about maximal MSIs

PATCH New Matthias Brugger 2 participants 2 messages Jan 16, 2017 – Jan 17, 2017 Driver core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irq/platform-msi: Fix comment about maximal MSIs

Commit aff5e06b0dda ("irq/platform-MSI: Increase the maximum MSIs the MSI framework can support") increases the maximum MSIs to 2048. Fix the comment to reflect that.

---
 drivers/base/platform-msi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/platform-msi.c +1 -1
index be6a599..0fc7c4d 100644
@@ -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).
Signature · 1 line
2.6.6
#1 lore raw
irq/platform-msi: Fix comment about maximal MSIs
Commit-ID:  788d23930a9724fc85cdf9999521a867d8748019
Gitweb:     http://git.kernel.org/tip/788d23930a9724fc85cdf9999521a867d8748019
Author:     Matthias Brugger <[email protected]>
AuthorDate: Mon, 16 Jan 2017 19:48:20 +0100
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Tue, 17 Jan 2017 09:53:14 +0100

irq/platform-msi: Fix comment about maximal MSIs

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.

---
 drivers/base/platform-msi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/platform-msi.c +1 -1
index be6a599..0fc7c4d 100644
@@ -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).