summaryrefslogtreecommitdiff
path: root/cpusched.h
blob: a7c26ce337fdfe2fa2af891ec902bbd185abaa7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * netsniff-ng - the packet sniffing beast
 * Copyright 2011 Daniel Borkmann.
 * Subject to the GPL, version 2.
 */

#ifndef CPUSCHED_H
#define CPUSCHED_H

extern void init_cpusched(unsigned int cpus);
extern unsigned int socket_to_cpu(int fd);
extern unsigned int register_socket(int fd);
extern void unregister_socket(int fd);
extern void destroy_cpusched(void);

#endif /* CPUSCHED_H */
>2016-07-29 13:28:25 +0200 committerMarcel Holtmann <marcel@holtmann.org>2016-09-19 20:19:34 +0200 commit1aabbbcefe8e62fbffaaa01ca8bdd4cd6ed1625b (patch) treed5392871bb663315b8cfaed998edf978fc8bb796 parentf0a70a04ca10d07a383a89edea142e3cbab1f2ca (diff)
Bluetooth: add printf format attribute to hci_set_[fh]w_info()
Commit 5177a83827cd ("Bluetooth: Add debugfs fields for hardware and firmware info") introduced hci_set_hw_info() and hci_set_fw_info(). These functions use kvasprintf_const() but are not marked with a __printf attribute. Adding such an attribute helps detecting issues related to printf-formatting at build time. Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@m4x.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat