From: Daniel Machon <dmachon.dev@gmail.com>
To: rjw@rjwysocki.net
Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
danielmachon@live.dk
Subject: [PATCH 2/2] ACPI: battery.c: Fixed flying pointer mark issue. Coding style issue.
Date: Sun, 5 Jul 2015 19:39:01 +0200 [thread overview]
Message-ID: <20150705173858.GA10338@gmail.com> (raw)
Fixed coding style issue.
Signed-off-by: Daniel Machon <dmachon.dev@gmail.com>
---
drivers/acpi/battery.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index b3628cc..0447c6a 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -918,8 +918,8 @@ static int acpi_battery_print_alarm(struct seq_file *seq, int result)
}
static ssize_t acpi_battery_write_alarm(struct file *file,
- const char __user * buffer,
- size_t count, loff_t * ppos)
+ const char __user *buffer,
+ size_t count, loff_t *ppos)
{
int result = 0;
char alarm_string[12] = { '\0' };
--
2.1.4
reply other threads:[~2015-07-05 17:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150705173858.GA10338@gmail.com \
--to=dmachon.dev@gmail.com \
--cc=danielmachon@live.dk \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox