usb: gadget: f_mbim: Change %p to %pK in debug messages
The format specifier %p can leak kernel addresses while not valuing the kptr_restrict system settings. Use %pK instead of %p, which also evaluates whether kptr_restrict is set. Bug: 31802656 Change-Id: I74e83192e0379586469edba3c7579a1cd75cf3c0 Signed-off-by:Min Chong <mchong@google.com> Git-repo: https://android.googlesource.com/kernel/msm.git Git-commit: c7659864af1ab8da6864c09eccde5ce3a1325194 Signed-off-by:
Dennis Cagle <d-cagle@codeaurora.org>
Loading
Please register or sign in to comment