aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorRob Herring (Arm) <[email protected]>2024-08-08 11:07:03 -0600
committerMartin K. Petersen <[email protected]>2024-08-12 18:17:43 -0400
commiteab0dce11dd91410204aae39d33124d9c16ab5f0 (patch)
tree6ed8641519e0e26af66dc991c8b6f1f86110e275 /lib/crypto/mpi/mpi-sub-ui.c
parentfd9cb9615fca4fa322a43eeecbd71d4de1ba146a (diff)
scsi: ufs: ufshcd-pltfrm: Use of_property_count_u32_elems() to get property length
Replace of_get_property() with the type specific of_property_count_u32_elems() to get the property length. This is part of a larger effort to remove callers of of_get_property() and similar functions. of_get_property() leaks the DT property data pointer which is a problem for dynamically allocated nodes which may be freed. Signed-off-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions