lib.c (4ba24fef3eb3b142197135223b90ced2f319cd53) lib.c (e781b7f7fcc141d69f63d4eef70d249549dfaeda)
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2000-2001 Qualcomm Incorporated
4
5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as

--- 152 unchanged lines hidden (view full) ---

161 vaf.fmt = format;
162 vaf.va = &args;
163
164 pr_err("%pV", &vaf);
165
166 va_end(args);
167}
168EXPORT_SYMBOL(bt_err);
1/*
2 BlueZ - Bluetooth protocol stack for Linux
3 Copyright (C) 2000-2001 Qualcomm Incorporated
4
5 Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License version 2 as

--- 152 unchanged lines hidden (view full) ---

161 vaf.fmt = format;
162 vaf.va = &args;
163
164 pr_err("%pV", &vaf);
165
166 va_end(args);
167}
168EXPORT_SYMBOL(bt_err);
169
170void bt_err_ratelimited(const char *format, ...)
171{
172 struct va_format vaf;
173 va_list args;
174
175 va_start(args, format);
176
177 vaf.fmt = format;
178 vaf.va = &args;
179
180 pr_err_ratelimited("%pV", &vaf);
181
182 va_end(args);
183}
184EXPORT_SYMBOL(bt_err_ratelimited);