RE: [PATCH] IB/qib: fix test of unsigned variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> So, the matrix of what the driver does now looks like this:
> 
> dd->wc_cookie == 0: PAT was used
> dd->wc_cookie > 0: wc was used successfully wc_cookie < 0: neither PAT
> dd->nor wc was used
> 
> I've fixed up the change to simply switch wc_cookie from unsigned long to plain
> long and left the original code as it was, and it is now staged for 4.1-rc.
> 

I have a v2 of this patch that changes the type of the wc_cookie.

It also uses any negative cookie as the ret.   It seems better to use in actual error arch_phys_wc_add() from  vs. a canned one.

Mike 
��.n��������+%������w��{.n�����{���fk��ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux