On 01/28/2017 07:30 AM, Bhumika Goyal wrote:
On Sat, Jan 28, 2017 at 8:57 PM, Guenter Roeck wrote:
On 01/27/2017 11:41 PM, Bhumika Goyal wrote:
Declare watchdog_ops structures as const as they are only stored in the
ops field of a watchdog_device structure. This field is
On 01/28/2017 07:30 AM, Bhumika Goyal wrote:
On Sat, Jan 28, 2017 at 8:57 PM, Guenter Roeck wrote:
On 01/27/2017 11:41 PM, Bhumika Goyal wrote:
Declare watchdog_ops structures as const as they are only stored in the
ops field of a watchdog_device structure. This field is of type const, so
On 01/27/2017 11:41 PM, Bhumika Goyal wrote:
Declare watchdog_ops structures as const as they are only stored in the
ops field of a watchdog_device structure. This field is of type const, so
watchdog_ops structures having this property can be made const too.
Done using Coccinelle:
I have a
On 01/27/2017 11:41 PM, Bhumika Goyal wrote:
Declare watchdog_ops structures as const as they are only stored in the
ops field of a watchdog_device structure. This field is of type const, so
watchdog_ops structures having this property can be made const too.
Done using Coccinelle:
I have a
On Sat, Jan 28, 2017 at 8:57 PM, Guenter Roeck wrote:
> On 01/27/2017 11:41 PM, Bhumika Goyal wrote:
>>
>> Declare watchdog_ops structures as const as they are only stored in the
>> ops field of a watchdog_device structure. This field is of type const, so
>> watchdog_ops
On Sat, Jan 28, 2017 at 8:57 PM, Guenter Roeck wrote:
> On 01/27/2017 11:41 PM, Bhumika Goyal wrote:
>>
>> Declare watchdog_ops structures as const as they are only stored in the
>> ops field of a watchdog_device structure. This field is of type const, so
>> watchdog_ops structures having this
Declare watchdog_ops structures as const as they are only stored in the
ops field of a watchdog_device structure. This field is of type const, so
watchdog_ops structures having this property can be made const too.
Done using Coccinelle:
@r disable optional_qualifier@
identifier x;
position p;
@@
Declare watchdog_ops structures as const as they are only stored in the
ops field of a watchdog_device structure. This field is of type const, so
watchdog_ops structures having this property can be made const too.
Done using Coccinelle:
@r disable optional_qualifier@
identifier x;
position p;
@@
8 matches
Mail list logo