Re: [v2] platform/x86/amd/pmf: Fix memory leak in amd_pmf_get_pb_data()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


> If the question is: "Are patches generated by coccinelle welcome?"
> then the answer is "Yes patches generated by coccinelle are very
> much welcome".

How do you think about to fix a questionable memory leak
by using the function “memdup_user” instead?

Would you like to try a corresponding command out once more on source files
of a software like “Linux next-20240125”?

make COCCI=scripts/coccinelle/api/memdup_user.cocci M=drivers/platform/x86/amd/pmf/ MODE=patch coccicheck


[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux