# Editor crap (emacs, vim, ...)
*.swp
*.orig
\#*\#
.\#*
.*.sw[a-z]
*.un~
# Hidden files, general things
.*
*~
# Compiled object files
*.slo
*.lo
*.o
# Compiled dynamic libraries
*.so
# Compiled static libraries
*.lai
*.la
*.a
# Compiled executables
astraceroute/astraceroute
bpfc/bpfc
curvetun/curvetun
curvetun/abiname
flowtop/flowtop
ifpps/ifpps
mausezahn/mausezahn
netsniff-ng/netsniff-ng
trafgen/trafgen
# cscope/ctags index files
cscope*
tags
# Testing folders
fuzzing/
# Ignore if someone adapts Makefile
Makefile
# Ignore build config generated by configure
Config
config.h
config.log
# Other documentation ignores
*.md
*.ps
# Compressed archives
*.tar.bz2
*.tar.bz
*.tar.xz
# Release related stuff
.MAIL_MSG
# Excluded from ignorance
!.gitattributes
!.gitignore
!.travis.yml
net-next.git
rt2x00: fix clk_get call
clk_get() takes two arguments and might return ERR_PTR(), so we
have to nullify pointer on that case, to do not break further call
to clk_get_rate().
Reported-by: Felix Fietkau <nbd@nbd.name>
Fixes: 34db70b92fae ("rt2x00: add copy of clk for soc devices")
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>