summaryrefslogtreecommitdiffstats
path: root/drivers/ssb/driver_gige.c
diff options
context:
space:
mode:
authorMarijn Suijten <marijn.suijten@somainline.org>2022-06-30 00:53:26 +0200
committerRob Clark <robdclark@chromium.org>2022-09-18 09:38:05 -0700
commite139dfa008365ec6255cd8ae56e1e5d7511f92f7 (patch)
tree4426b4c8eb1721e6077a14fb778095197c13289d /drivers/ssb/driver_gige.c
parent158ce9cb945b34c78ebd49dbb2c7401ca728c809 (diff)
downloadlinux-e139dfa008365ec6255cd8ae56e1e5d7511f92f7.tar.bz2
drm/msm/dsi/phy: Replace hardcoded char-array length with sizeof()
Now that the last DSI PHY PLL driver (dsi_phy_28nm_8960) has been converted to use a simple stack-local char-array instead of a devm_kzalloc heap allocation we can safely call sizeof() on every string variable (that's now a sized array instead of a pointer) passed into snprintf instead of hardcoding the size. Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/491920/ Link: https://lore.kernel.org/r/20220629225331.357308-7-marijn.suijten@somainline.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/ssb/driver_gige.c')
0 files changed, 0 insertions, 0 deletions