diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2017-05-06 09:34:53 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2017-08-07 11:23:09 -0500 |
commit | 2f48e06102b2541c0957a223c923dc8036112142 (patch) | |
tree | 070131c86198d93b0ea9b747511c5814484d6cf8 /fs/devpts | |
parent | 790854becc1921d0cf46180ee55beb4a1787e680 (diff) | |
download | talos-op-linux-2f48e06102b2541c0957a223c923dc8036112142.tar.gz talos-op-linux-2f48e06102b2541c0957a223c923dc8036112142.zip |
dlm: Use kcalloc() in two functions
* Multiplications for the size determination of memory allocations
indicated that array data structures should be processed.
Thus reuse the corresponding function "kcalloc".
This issue was detected by using the Coccinelle software.
* Replace the specification of data structures by pointer dereferences
to make the corresponding size determinations a bit safer according to
the Linux coding style convention.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/devpts')
0 files changed, 0 insertions, 0 deletions