Re: [PATCH] scsi: mpi3mr: Handle SAS port and rphy allocation failures

Markus Elfring <[email protected]>
Newsgroups org.kernel.vger.linux-scsi,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
> Check the return value of sas_port_alloc_num() and handle failures
> before attempting to add the port.
> 
> Free the SAS port if sas_port_add() fails. Also handle failures from
> sas_end_device_alloc() and sas_expander_alloc() by removing the PHYs
> from the port, deleting the SAS port, and returning failure.
…

How do you think about to add any tags (like “Fixes” and “Cc”) accordingly?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v7.2#n145
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/stable-kernel-rules.rst?h=v7.2#n34

Regards,
Markus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.