mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jose Manuel Abuin Mosquera <abuinjm@gmail.com>
To: a.p.zijlstra@chello.nl, mingo@redhat.com, acme@kernel.org,
	tglx@linutronix.de, hpa@zytor.com
Cc: x86@kernel.org, linux-kernel@vger.kernel.org, chemaster@gmail.com
Subject: [PATCH 1/2] arch:x86:kernel:cpu Modified some lines according to coding style
Date: Wed, 29 Jul 2015 11:23:34 +0200	[thread overview]
Message-ID: <1438161815-26263-1-git-send-email-abuinjm@gmail.com> (raw)

Only some code modifications according to the coding style guide

Signed-off-by: Jose Manuel Abuin Mosquera <abuinjm@gmail.com>
---
 arch/x86/kernel/cpu/perf_event_intel_rapl.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/x86/kernel/cpu/perf_event_intel_rapl.c b/arch/x86/kernel/cpu/perf_event_intel_rapl.c
index 5cbd4e6..1368d21 100644
--- a/arch/x86/kernel/cpu/perf_event_intel_rapl.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_rapl.c
@@ -116,7 +116,7 @@ static struct perf_pmu_events_attr event_attr_##v = {			\
 	.attr		= __ATTR(_name, 0444, rapl_sysfs_show, NULL),	\
 	.id		= 0,						\
 	.event_str	= str,						\
-};
+}
 
 struct rapl_pmu {
 	spinlock_t	 lock;
@@ -139,6 +139,7 @@ static struct x86_pmu_quirk *rapl_quirks;
 static inline u64 rapl_read_counter(struct perf_event *event)
 {
 	u64 raw;
+
 	rdmsrl(event->hw.event_base, raw);
 	return raw;
 }
@@ -204,8 +205,8 @@ again:
 
 static void rapl_start_hrtimer(struct rapl_pmu *pmu)
 {
-       hrtimer_start(&pmu->hrtimer, pmu->timer_interval,
-		     HRTIMER_MODE_REL_PINNED);
+	hrtimer_start(&pmu->hrtimer, pmu->timer_interval,
+		HRTIMER_MODE_REL_PINNED);
 }
 
 static void rapl_stop_hrtimer(struct rapl_pmu *pmu)
-- 
2.4.6


             reply	other threads:[~2015-07-29  9:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29  9:23 Jose Manuel Abuin Mosquera [this message]
2015-07-29  9:23 ` [PATCH 2/2] arch:x86:kernel:cpu Changed some spaces into tabs and printk KERN_CONT into pr_cont Jose Manuel Abuin Mosquera

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=1438161815-26263-1-git-send-email-abuinjm@gmail.com \
    --to=abuinjm@gmail.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@kernel.org \
    --cc=chemaster@gmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@kernel.org \
    /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

Powered by JetHome