summaryrefslogtreecommitdiff
path: root/lib/igt.cocci
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-06-13 15:19:09 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-06-13 18:09:05 +0200
commit652e5441504ddded9d6b138cd6df3447ed9b2e74 (patch)
tree7acfd7afd9f12a794d8ade7ef0ac166d40d6a38a /lib/igt.cocci
parentac0e606677823d27836708300a2c5ee05d24b458 (diff)
tests/pm_psr_sink_crc: Fix longjmp fun
igt_fixture and igt_subtests use longjmp/setjmp internally, which means local variables at the same stack frame are at risk. Best practice is to move them out right in front of the igt_main block. It would be awesome if someone could come up with a cocci patch to auto-fix this, but unfortunately my attempts failed. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/igt.cocci')
0 files changed, 0 insertions, 0 deletions