title: Warning 634 and Warning 613 :MISRA
body: <p>I have two scenario where I am not able to resolve these warnings ..                        These are repetitive warnings</p>
  
  <pre><code>1) Warning 634: Strong type mismatch (type 'SPI_FSH_HANDLE') in equality or conditional 
  
  
              #define SPI_NULL NULL
              SPI_FSH_HANDLE  flash;
              if (flash != SPI_NULL)
  </code></pre>
  
  <p>I tried to check the NULL condition but still warnings persisted.</p>
  
  <pre><code>2)Warning 613: Possible use of null pointer 'flash' in left argument to operator '-&gt;'
  </code></pre>
  
  <p>Part of Code :</p>
  
  <pre><code>if (strstr(flash-&gt;name, "M25P")!= SPI_NULL) 
  </code></pre>
  
  <p>How I can avoid both the warnings  ???</p>