[Linux-kernel-mentees] [PATCH v3] checkpatch: extend attributes check to handle more patterns

Randy Dunlap rdunlap at infradead.org
Sat Oct 24 23:29:44 UTC 2020


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



More information about the Linux-kernel-mentees mailing list