<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Confusing Junk in the results: Last errno: 25, Inappropriate ioctl for device"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=110354">110354</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Confusing Junk in the results: Last errno: 25, Inappropriate ioctl for device
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>IGT
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>arkadiusz.hiler@intel.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>IGT's asserts log the last errno if it's not 0, and it seems like we get this
"Inappropriate ioctl for device" quite often polluting the CI results and
confusing people. 

We have to locate where is it originating from and set errno to 0 after
handling it to stop the pollution.

Some examples:
<a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - [CI][SHARDS] igt@kms_dp_dsc@basic-dsc-enable-edp - fail - Failed assertion: is_dp_dsc_enabled(data), Last errno: 25, Inappropriate ioctl for device, Default DSC enable failed on Connector: eDP-1 Pipe: A"
   href="show_bug.cgi?id=109358">https://bugs.freedesktop.org/show_bug.cgi?id=109358</a>
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CI][SHARDS] igt@kms_plane_multiple@atomic-pipe-[abc]-* - fail - Failed assertion: !mismatch, Last errno: 25, Inappropriate ioctl for device"
   href="show_bug.cgi?id=110037">https://bugs.freedesktop.org/show_bug.cgi?id=110037</a>
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [CI][SHARDS] igt@kms_lease@*implicit* new testcases fail"
   href="show_bug.cgi?id=110279">https://bugs.freedesktop.org/show_bug.cgi?id=110279</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>