aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorLifeng Zheng <[email protected]>2025-04-21 03:00:20 +0000
committerChanwoo Choi <[email protected]>2025-07-14 11:04:17 +0000
commitbab7834c03820eb11269bc48f07c3800192460d2 (patch)
tree31cb1d681f4f546f991b4709732b5313b5822219 /net/unix/af_unix.c
parentPM / devfreq: Remove redundant devfreq_get_freq_range() calling in devfreq_ad... (diff)
downloadkernel-bab7834c03820eb11269bc48f07c3800192460d2.tar.gz
kernel-bab7834c03820eb11269bc48f07c3800192460d2.zip
PM / devfreq: Check governor before using governor->name
Commit 96ffcdf239de ("PM / devfreq: Remove redundant governor_name from struct devfreq") removes governor_name and uses governor->name to replace it. But devfreq->governor may be NULL and directly using devfreq->governor->name may cause null pointer exception. Move the check of governor to before using governor->name. Fixes: 96ffcdf239de ("PM / devfreq: Remove redundant governor_name from struct devfreq") Signed-off-by: Lifeng Zheng <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]/ Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions