Messages in this thread | | | Date | Mon, 20 Apr 2020 12:23:26 -0700 (PDT) | Subject | Re: [PATCH] net: qed: Remove unneeded cast from memory allocation | From | David Miller <> |
| |
From: Aishwarya Ramakrishnan <aishwaryarj100@gmail.com> Date: Sun, 19 Apr 2020 21:59:17 +0530
> Remove casting the values returned by memory allocation function. > > Coccinelle emits WARNING: casting value returned by memory allocation > function to struct pointer is useless. > > This issue was detected by using the Coccinelle. > > Signed-off-by: Aishwarya Ramakrishnan <aishwaryarj100@gmail.com>
Applied to net-next, thanks.
| |