aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNishka Dasgupta <nishkadg.linux@gmail.com>2019-08-15 11:21:49 +0530
committerMarcel Holtmann <marcel@holtmann.org>2019-09-05 17:27:21 +0200
commit2edc9c5cca7ac87e99c0eddf398ddcf92c4b36de (patch)
tree8bfc5209d9824a384608e2ac832f465c39f01976 /tools/perf/scripts/python/export-to-postgresql.py
parentBluetooth: 6lowpan: Make variable header_ops constant (diff)
downloadlinux-dev-2edc9c5cca7ac87e99c0eddf398ddcf92c4b36de.tar.xz
linux-dev-2edc9c5cca7ac87e99c0eddf398ddcf92c4b36de.zip
Bluetooth: hci_qca: Make structure qca_proto constant
Static structure qca_proto, of type hci_uart_proto, is used four times: as the last argument in function hci_uart_register_device(), and as the only argument to functions hci_uart_register_proto() and hci_uart_unregister_proto(). In all three of these functions, the parameter corresponding to qca_proto is declared as constant. Therefore, make qca_proto itself constant as well in order to protect it from unintended modification. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions