diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2016-08-18 04:59:20 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-08-18 04:59:20 -0700 |
| commit | e14fcb2cff4afd0ceefa87bcb8240b13823e5c64 (patch) | |
| tree | 5adbee022c592d01e0581e0f4f414c246e81a779 | |
| parent | b88ee6f9330b0acb03fc307b79e6606b24fd9793 (diff) | |
| parent | 1cfce723f4e638c94149c2b29ae104586f3b9ef9 (diff) | |
Merge "soc: qcom: irq-helper: Change the sysfs print function"
| -rw-r--r-- | drivers/soc/qcom/irq-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/irq-helper.c b/drivers/soc/qcom/irq-helper.c index 2bb71464d165..7bb371f7991e 100644 --- a/drivers/soc/qcom/irq-helper.c +++ b/drivers/soc/qcom/irq-helper.c @@ -72,7 +72,7 @@ static ssize_t show_deploy(struct kobject *kobj, struct attribute *attr, { struct irq_helper *irq = to_irq_helper(kobj); - return snprintf(buf, sizeof(irq->deploy), "%u\n", irq->deploy); + return snprintf(buf, PAGE_SIZE, "%u\n", irq->deploy); } IRQ_HELPER_ATTR(irq_blacklist_on, 0444, show_deploy, NULL); |
