[Drbd-dev] [PATCH 00/13] DRBD-receiver: Fine-tuning for six function implementations

Roland Kammerer roland.kammerer at linbit.com
Mon Aug 7 16:25:01 CEST 2017


On Sat, Sep 10, 2016 at 10:20:10PM +0200, SF Markus Elfring wrote:
> From: Markus Elfring <elfring at users.sourceforge.net>
> Date: Sat, 10 Sep 2016 22:13:22 +0200
> 
> Several update suggestions were taken into account
> from static source code analysis.
> 
> Markus Elfring (13):
>   Use kmalloc_array() in receive_uuids()
>   Delete an error message for a failed kmalloc_array() call
>   Move an assignment in receive_uuids()
>   Improve a size determination in drbd_do_features()
>   Delete an unnecessary initialisation in receive_sizes()
>   Improve a size determination in receive_sizes()
>   Delete an error message for a failed kzalloc() call in receive_sizes()
>   Move an assignment in receive_sizes()
>   Improve determination of sizes in receive_SyncParam()
>   Delete error messages for failed resource allocations in receive_SyncParam()
>   Improve a size determination in receive_protocol()
>   Delete error messages for failed resource allocations in receive_protocol()
>   Improve determination of sizes in receive_Barrier()
> 
>  drivers/block/drbd/drbd_receiver.c | 45 ++++++++++++++++----------------------
>  1 file changed, 19 insertions(+), 26 deletions(-)

Hi Markus,

looks like these got overlooked. I took all of them except the ones that
remove the debug-output (sorry, I don't see a reason for these), and
squashed them accordingly. We will send them upstream soon.

Thanks, rck


More information about the drbd-dev mailing list