On 10/2/23 08:59, Hannes Reinecke wrote:
+ if ((hd = shost_priv(sh)) == NULL){ + printk(KERN_ERR MYNAM ": host reset: Can't locate host!\n"); return FAILED; }
In the above example and in multiple other cases formatting does not follow the kernel coding style. Please consider to run git clang-format HEAD^ on this patch. Otherwise this patch looks good to me. Thanks, Bart.