summary refs log tree commit diff stats
path: root/scripts/qapi-types.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2011-11-14 17:50:53 +0100
committerKevin Wolf <kwolf@redhat.com>2011-12-15 12:40:08 +0100
commitb9b2008bbff49e2714491a95109e1189e54a6491 (patch)
treeaa4ab3960bd6abfd16165666b7ddc763916880a4 /scripts/qapi-types.py
parent6bee44ea346aed24e12d525daf10542d695508db (diff)
downloadfocaccia-qemu-b9b2008bbff49e2714491a95109e1189e54a6491.tar.gz
focaccia-qemu-b9b2008bbff49e2714491a95109e1189e54a6491.zip
block: dma_bdrv_* does not return NULL
Initially attempted with the following semantic patch:

@ rule1 @
expression E;
statement S;
@@
  E =
(
   dma_bdrv_io
|  dma_bdrv_read
|  dma_bdrv_write
)
     (...);
(
- if (E == NULL) { ... }
|
- if (E)
    { <... S ...> }
)

which however did not match anything.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi-types.py')
0 files changed, 0 insertions, 0 deletions