Tag: 2b8b34a948d063c4e803105ec0a3e8d27bd97c19

IB/hfi1: Replace kmalloc and memcpy with a kmemdup

Author: Harish Chegondi <harish.chegondi@intel.com> This change was recommended by Coccinelle tool when I ran the command: -bash-4.2$ make coccicheck MODE=patch M=drivers/infiniband/hw/hfi1/ Reviewed-by: Jubin John Reviewed-by: Mike Marciniszyn Reviewed-by: Dennis Dalessandro Signed-off-by: Harish Chegondi Signed-off-by: Doug Ledford — drivers/staging/rdma/hfi1/efivar.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/drivers/staging/rdma/hfi1/efivar.c b/drivers/staging/rdma/hfi1/efivar.c index 5fe3924..3f014f9 …

Continue reading