title: Note 961: Violates MISRA 2004 Advisory Rule 12.6, boolean expression required for operator: '!'
body: <p>This is a part of my code and I am getting a warning as mentioned in the title. </p>
  
  <p>Code is</p>
  
  <pre><code>#define OMAP3_MCSPI_SYSSTATUS_RESETDONE     (1U)    
  uint32_t tmp =6 ;
  while (!(tmp &amp; OMAP3_MCSPI_SYSSTATUS_RESETDONE))
  </code></pre>
  
  <p>Warning is </p>
  
  <pre><code>Note 961: Violates MISRA 2004 Advisory Rule 12.6, boolean expression required for operator: '!'
  </code></pre>
  
  <p>Why am I getting this warning?</p>