summaryrefslogtreecommitdiff
path: root/drivers/leds
diff options
context:
space:
mode:
authorDaniel T. Lee <danieltimlee@gmail.com>2020-05-16 07:06:04 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2020-05-19 18:12:49 +0300
commit0efdcefb00d768442efef21560ea4c44d481fa5c (patch)
tree8be1ed7d70e6a61c43d53f984061e5d2acd1e4a3 /drivers/leds
parent96586dd9268d26b278a1dd9110080001a6acbb0f (diff)
downloadlinux-0efdcefb00d768442efef21560ea4c44d481fa5c.tar.xz
samples, bpf: Refactor pointer error check with libbpf
Current method of checking pointer error is not user friendly. Especially the __must_check define makes this less intuitive. Since, libbpf has an API libbpf_get_error() which checks pointer error, this commit refactors existing pointer error check logic with libbpf. Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Yonghong Song <yhs@fb.com> Link: https://lore.kernel.org/bpf/20200516040608.1377876-2-danieltimlee@gmail.com
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions