aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorJamie Iles <jamie@jamieiles.com>2010-12-01 23:39:35 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2010-12-10 15:19:37 -0800
commit49d5741be27aa90301b89bf254972b355ed9c8ee (patch)
tree10da68046d0ba7e92cd156d413d8b03f72dec0fb /tools/perf/util/scripting-engines/trace-event-python.c
parentserial: omap-serial: Add support for kernel debugger (diff)
downloadwireguard-linux-49d5741be27aa90301b89bf254972b355ed9c8ee.tar.xz
wireguard-linux-49d5741be27aa90301b89bf254972b355ed9c8ee.zip
8250: use container_of() instead of casting
The 8250 driver structure uart_8250_port took advantage of the fact that the struct uart_port was the first member of its structure and used an explicit cast to convert to the derived class. Replace the explicit casts with container_of() for safety and clarity. Signed-off-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions