Hi Dan, Thank you very much for your bug report.Then I have question about 'error: we previously assumed 'fmt' could be null (see line 1480)'
Do you mean that the code should be written like 'if (fmt == NULL)'?
On 3/7/2017 08:17, Dan Carpenter wrote:
1476 while (!v4l2_subdev_call(subdev, pad, enum_mbus_code,
1477 NULL, &mbus_code)) {
1478 mbus_code.index++;
1479 fmt = find_format_by_code(mbus_code.code, &i);
1480 if (!fmt)
^^^
Check for NULL.
