Re: [PATCH v2] drivers/base/devres.c: refactor using guards

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

 



Andrea Calabrese <andrea.calabrese@xxxxxxxxxxxxxxxxxxxx> writes:

Hello Andrea,

> Refactored devres.c using lock guards and scoped locks.
> Changed functions:
> - devres_for_each_res
> - devres_add
> - devres_find
> - devres_get
> - devres_remove
> - release_nodes
> - release_all
> - devres_open_group
> - find_group
> - devres_remove_group
> - devres_release_group
> - devm_krealloc
>
> Signed-off-by: Andrea Calabrese <andrea.calabrese@xxxxxxxxxxxxxxxxxxxx>
>

A good commit message should not explain what the patch does (for that one
can look at the diff) but why a change is being made.

-- 
Best regards,

Javier Martinez Canillas
Core Platforms
Red Hat




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux