Re: [PATCH v3] checkpatch: extend attributes check to handle more patterns

From: Randy Dunlap
Date: Sat Oct 24 2020 - 20:59:50 EST


On 10/24/20 4:21 PM, Joe Perches wrote:
>> + if (exists($attr_list{$curr_attr})) {
>> + my $new = $attr_list{$curr_attr};
>> + WARN("PREFER_DEFINED_ATTRIBUTE_MACRO",
>> + "$new$params is preffered over __attribute__(($attr))\n" . $herecurr);

preferred

Sorry if that has already been mentioned.

--
~Randy