Commit graph

4 commits

Author SHA1 Message Date
Hin-Tak Leung
267152505b better fix for older compiler than gcc 5
Reference: kernel's include/linux/compiler_attributes.h
2020-12-04 23:20:42 +00:00
Hin-Tak Leung
28b9319379 older compiler than gcc 5 does not have __has_attribute 2020-12-04 22:05:28 +00:00
Hin-Tak Leung
31bea0c3be compatibility - fallthrough' pseudo keyword was introduced in v5.4
commit 294f69e662d1570703e9b56e95be37a9fd3afba5
Author: Joe Perches <joe@perches.com>
Date:   Sat Oct 5 09:46:42 2019 -0700

    compiler_attributes.h: Add 'fallthrough' pseudo keyword for switch/case use
2020-12-02 15:09:06 +00:00
respeaker
b98fce84e0 Add: compatible to linux-4.18 or higher 2019-03-14 03:13:25 +00:00