Files
linux/include/trace/events
Simon Horman 054fbf7ff8 net: qrtr: correct types of trace event parameters
The arguments passed to the trace events are of type unsigned int,
however the signature of the events used __le32 parameters.

I may be missing the point here, but sparse flagged this and it
does seem incorrect to me.

  net/qrtr/ns.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, include/trace/events/qrtr.h):
  ./include/trace/events/qrtr.h:11:1: warning: cast to restricted __le32
  ./include/trace/events/qrtr.h:11:1: warning: restricted __le32 degrades to integer
  ./include/trace/events/qrtr.h:11:1: warning: restricted __le32 degrades to integer
  ... (a lot more similar warnings)
  net/qrtr/ns.c:115:47:    expected restricted __le32 [usertype] service
  net/qrtr/ns.c:115:47:    got unsigned int service
  net/qrtr/ns.c:115:61: warning: incorrect type in argument 2 (different base types)
  ... (a lot more similar warnings)

Fixes: dfddb54043 ("net: qrtr: Add tracepoint support")
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Signed-off-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230402-qrtr-trace-types-v1-1-92ad55008dd3@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-04-04 18:58:43 -07:00
..
2020-11-30 12:54:01 +00:00
2022-12-07 13:54:09 -08:00
2022-11-21 09:45:49 -06:00
2023-03-29 08:22:52 +01:00
2023-03-29 08:22:52 +01:00
2022-09-21 10:30:42 -06:00
2023-01-13 16:39:18 +01:00
2022-12-08 21:49:12 -05:00
2023-02-02 22:33:13 -08:00
2022-08-03 17:50:58 +02:00
2023-03-22 14:05:24 -07:00
2022-12-10 11:01:12 -05:00
2022-07-30 14:01:30 -04:00
2023-02-20 08:28:49 +00:00