summaryrefslogtreecommitdiff
path: root/proto_udp.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-08-11 15:33:11 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-08-11 15:33:11 +0200
commitc880f12c31f02bf48bdd76b2a8d7acaccd7ae686 (patch)
tree28e76c4e2d9d95f5099f9b294e15d685bd21a2e1 /proto_udp.c
parentfca52c23758ad65a7245c7f9043fa67eb01b93e7 (diff)
cpusched: Fix compiler warnings
Fix the following compiler warnings that occur when building with "-W -Wall -Wextra": cpusched.c: In function ‘get_appropriate_cpu’: cpusched.c:28:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] cpusched.c:29:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_udp.c')
0 files changed, 0 insertions, 0 deletions
r creates a kernel thread at start of the tracer. It is pinned to a single CPU and will move to the next CPU after each period of running. If the user modifies the migration thread's affinity, it will not change after that happens. The original code created the thread at the first instance it was called, but later was changed to destroy the thread after the tracer was finished, and would not be created until the next instance of the tracer was established. The code that initialized the affinity was only called on the initial instantiation of the tracer. After that, it was not initialized, and the previous affinity did not match the current newly created one, making it appear that the user modified the thread's affinity when it did not, and the thread failed to migrate again. Cc: stable@vger.kernel.org Fixes: 0330f7aa8ee6 ("tracing: Have hwlat trace migrate across tracing_cpumask CPUs") Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'net/bluetooth/bnep/netdev.c')