Re: [PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-06 Thread pheragu
On 2018-07-05 22:45, Mark Rutland wrote: On Thu, Jul 05, 2018 at 02:14:28PM -0700, Joe Perches wrote: On Thu, 2018-07-05 at 11:19 -0700, Prakruthi Deepak Heragu wrote: > mb() API can relpace the dsb() API in the kernel code. So, dsb() usage > is discouraged. However, there are exceptions when

Re: [PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-06 Thread pheragu
On 2018-07-05 22:45, Mark Rutland wrote: On Thu, Jul 05, 2018 at 02:14:28PM -0700, Joe Perches wrote: On Thu, 2018-07-05 at 11:19 -0700, Prakruthi Deepak Heragu wrote: > mb() API can relpace the dsb() API in the kernel code. So, dsb() usage > is discouraged. However, there are exceptions when

Re: [PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-06 Thread pheragu
On 2018-07-05 22:52, Joe Perches wrote: On Fri, 2018-07-06 at 06:45 +0100, Mark Rutland wrote: On Thu, Jul 05, 2018 at 02:14:28PM -0700, Joe Perches wrote: > On Thu, 2018-07-05 at 11:19 -0700, Prakruthi Deepak Heragu wrote: > > mb() API can relpace the dsb() API in the kernel code. So, dsb()

Re: [PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-06 Thread pheragu
On 2018-07-05 22:52, Joe Perches wrote: On Fri, 2018-07-06 at 06:45 +0100, Mark Rutland wrote: On Thu, Jul 05, 2018 at 02:14:28PM -0700, Joe Perches wrote: > On Thu, 2018-07-05 at 11:19 -0700, Prakruthi Deepak Heragu wrote: > > mb() API can relpace the dsb() API in the kernel code. So, dsb()

Re: [PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-05 Thread Joe Perches
On Fri, 2018-07-06 at 06:45 +0100, Mark Rutland wrote: > On Thu, Jul 05, 2018 at 02:14:28PM -0700, Joe Perches wrote: > > On Thu, 2018-07-05 at 11:19 -0700, Prakruthi Deepak Heragu wrote: > > > mb() API can relpace the dsb() API in the kernel code. So, dsb() usage > > > is discouraged. However,

Re: [PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-05 Thread Joe Perches
On Fri, 2018-07-06 at 06:45 +0100, Mark Rutland wrote: > On Thu, Jul 05, 2018 at 02:14:28PM -0700, Joe Perches wrote: > > On Thu, 2018-07-05 at 11:19 -0700, Prakruthi Deepak Heragu wrote: > > > mb() API can relpace the dsb() API in the kernel code. So, dsb() usage > > > is discouraged. However,

Re: [PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-05 Thread Mark Rutland
On Thu, Jul 05, 2018 at 02:14:28PM -0700, Joe Perches wrote: > On Thu, 2018-07-05 at 11:19 -0700, Prakruthi Deepak Heragu wrote: > > mb() API can relpace the dsb() API in the kernel code. So, dsb() usage > > is discouraged. However, there are exceptions when dsb is used in a > > variable or a

Re: [PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-05 Thread Mark Rutland
On Thu, Jul 05, 2018 at 02:14:28PM -0700, Joe Perches wrote: > On Thu, 2018-07-05 at 11:19 -0700, Prakruthi Deepak Heragu wrote: > > mb() API can relpace the dsb() API in the kernel code. So, dsb() usage > > is discouraged. However, there are exceptions when dsb is used in a > > variable or a

Re: [PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-05 Thread Joe Perches
On Thu, 2018-07-05 at 11:19 -0700, Prakruthi Deepak Heragu wrote: > mb() API can relpace the dsb() API in the kernel code. So, dsb() usage > is discouraged. However, there are exceptions when dsb is used in a > variable or a function name. Exceptions are when 'dsb' is prefixed with > class

Re: [PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-05 Thread Joe Perches
On Thu, 2018-07-05 at 11:19 -0700, Prakruthi Deepak Heragu wrote: > mb() API can relpace the dsb() API in the kernel code. So, dsb() usage > is discouraged. However, there are exceptions when dsb is used in a > variable or a function name. Exceptions are when 'dsb' is prefixed with > class

[PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-05 Thread Prakruthi Deepak Heragu
mb() API can relpace the dsb() API in the kernel code. So, dsb() usage is discouraged. However, there are exceptions when dsb is used in a variable or a function name. Exceptions are when 'dsb' is prefixed with class [-_>*\.] and/or suffixed with class [-_\.;]. Signed-off-by: Prakruthi Deepak

[PATCH] checkpatch: Add exceptions for dsb keyword usage

2018-07-05 Thread Prakruthi Deepak Heragu
mb() API can relpace the dsb() API in the kernel code. So, dsb() usage is discouraged. However, there are exceptions when dsb is used in a variable or a function name. Exceptions are when 'dsb' is prefixed with class [-_>*\.] and/or suffixed with class [-_\.;]. Signed-off-by: Prakruthi Deepak