From: Randy Dunlap <rdunlap@infradead.org>
To: Shahab Vahedi <Shahab.Vahedi@synopsys.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: Vineet Gupta <vgupta@kernel.org>,
"linux-snps-arc@lists.infradead.org"
<linux-snps-arc@lists.infradead.org>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] clocksource: arc_timer: eliminate redefined macro error
Date: Thu, 23 Sep 2021 08:29:09 -0700 [thread overview]
Message-ID: <fab5a32c-f33f-d546-0c9e-3673f2160d66@infradead.org> (raw)
In-Reply-To: <61fef534-36df-2ed9-5662-ccebefef494e@synopsys.com>
On 9/23/21 2:42 AM, Shahab Vahedi wrote:
> Hi Randy,
>
> I have one minor comment.
>
> On 9/23/21 5:18 AM, Randy Dunlap wrote:
>>
>> --- linux-next-20210917.orig/include/soc/arc/timers.h
>> +++ linux-next-20210917/include/soc/arc/timers.h
>> @@ -17,7 +17,7 @@
>> #define ARC_REG_TIMER1_CNT 0x100 /* timer 1 count */
>>
>> /* CTRL reg bits */
>> -#define TIMER_CTRL_IE (1 << 0) /* Interrupt when Count reaches limit */
>> +#define TIMER_CTRL_IEN (1 << 0) /* Interrupt when Count reaches limit */
>
> Could you change the name to "ARC_TIMER_CTRL_IE" instead? and while at it, please rename
> "TIMER_CTRL_NH" to "ARC_TIMER_CTRL_NH" for obvious consistency reasons and saving us
> from future clashes. Thank you!
>
OK, no problem.
Thanks for the feedback.
--
~Randy
WARNING: multiple messages have this Message-ID (diff)
From: Randy Dunlap <rdunlap@infradead.org>
To: Shahab Vahedi <Shahab.Vahedi@synopsys.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: Vineet Gupta <vgupta@kernel.org>,
"linux-snps-arc@lists.infradead.org"
<linux-snps-arc@lists.infradead.org>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH] clocksource: arc_timer: eliminate redefined macro error
Date: Thu, 23 Sep 2021 08:29:09 -0700 [thread overview]
Message-ID: <fab5a32c-f33f-d546-0c9e-3673f2160d66@infradead.org> (raw)
In-Reply-To: <61fef534-36df-2ed9-5662-ccebefef494e@synopsys.com>
On 9/23/21 2:42 AM, Shahab Vahedi wrote:
> Hi Randy,
>
> I have one minor comment.
>
> On 9/23/21 5:18 AM, Randy Dunlap wrote:
>>
>> --- linux-next-20210917.orig/include/soc/arc/timers.h
>> +++ linux-next-20210917/include/soc/arc/timers.h
>> @@ -17,7 +17,7 @@
>> #define ARC_REG_TIMER1_CNT 0x100 /* timer 1 count */
>>
>> /* CTRL reg bits */
>> -#define TIMER_CTRL_IE (1 << 0) /* Interrupt when Count reaches limit */
>> +#define TIMER_CTRL_IEN (1 << 0) /* Interrupt when Count reaches limit */
>
> Could you change the name to "ARC_TIMER_CTRL_IE" instead? and while at it, please rename
> "TIMER_CTRL_NH" to "ARC_TIMER_CTRL_NH" for obvious consistency reasons and saving us
> from future clashes. Thank you!
>
OK, no problem.
Thanks for the feedback.
--
~Randy
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
next prev parent reply other threads:[~2021-09-23 15:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-23 3:18 [PATCH] clocksource: arc_timer: eliminate redefined macro error Randy Dunlap
2021-09-23 3:18 ` Randy Dunlap
2021-09-23 9:42 ` Shahab Vahedi
2021-09-23 9:42 ` Shahab Vahedi
2021-09-23 15:29 ` Randy Dunlap [this message]
2021-09-23 15:29 ` Randy Dunlap
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=fab5a32c-f33f-d546-0c9e-3673f2160d66@infradead.org \
--to=rdunlap@infradead.org \
--cc=Shahab.Vahedi@synopsys.com \
--cc=daniel.lezcano@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-snps-arc@lists.infradead.org \
--cc=tglx@linutronix.de \
--cc=vgupta@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.