#ifndef COLORS_H
#define COLORS_H
#define __reset "0"
#define __bold "1"
#define __black "30"
#define __red "31"
#define __green "32"
#define __yellow "33"
#define __blue "34"
#define __magenta "35"
#define __cyan "36"
#define __white "37"
#define __on_black "40"
#define __on_red "41"
#define __on_green "42"
#define __on_yellow "43"
#define __on_blue "44"
#define __on_magenta "45"
#define __on_cyan "46"
#define __on_white "47"
#endif /* COLORS_H */
td class='main'>index : net-next.git
|
net-next plumbings | Tobias Klauser |
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>