Re: [PATCH v3] RDMA/srp: Fix error handling in srp_add_port()

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

 



> If device_add() fails, call only put_device() to decrement reference
> count for cleanup. Do not call device_del() before put_device().
…
> Found by code review.

Are you looking for possibilities to improve automated source code analyses accordingly?

Regards,
Markus





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux