Re: ESP: cosmetic printk error during detection

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

 



> The first call of scsi_esp_register() (for the controller "0") should
> get unique_id set to 0 and instance incremented to 1, the second call
> (for the controller "1") should get unique_id set to 1 and instance
> incremented to 2, which is what we want.
> 
> The problem is rather that we are not assigning the unique_id early
> enough, and thus we do prints with the value uninitialized to zero.
> 
> Thankfully the bug is purely cosmetic as it only disrupts the probe
> printk statements.
> 
> This patch should fix it up, thanks for the report.

Thank you, it works fine here. I have been slow to test things recently 
but I have not forgotten :)

-- 
Meelis Roos (mroos@xxxxxxxx)
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux