From: Hans Verkuil Date: Mon, 4 Aug 2014 05:33:53 +0000 (-0300) Subject: [media] videobuf2-core: add comments before the WARN_ON X-Git-Tag: fixes-for-v3.18-merge-window~76^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23cd08c8f72405359862aff2ad2a8be1c232198c;p=pandora-kernel.git [media] videobuf2-core: add comments before the WARN_ON Recently WARN_ON() calls have been added to warn if the driver is not properly returning buffers to vb2 in start_streaming (if it fails) or stop_streaming(). Add comments before those WARN_ON calls that refer to the videobuf2-core.h header that explains what drivers are supposed to do in these situations. That should help point developers in the right direction if they see these warnings. Signed-off-by: Hans Verkuil Acked-by: Pawel Osciak Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed