On 10/3/23 19:33, Bart Van Assche wrote:
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.
That is correct, but I'm merely following the existing indentation
within that driver.
Reformatting the driver to align with current linux standards would be
a different patch.
Cheers,
Hannes