From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B0588C4727D for ; Tue, 22 Sep 2020 07:47:02 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C5DA239D2 for ; Tue, 22 Sep 2020 07:47:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="lPohekoT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C5DA239D2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 407596E0F2; Tue, 22 Sep 2020 07:46:47 +0000 (UTC) Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6B64A6E044 for ; Mon, 21 Sep 2020 10:13:21 +0000 (UTC) Received: by mail-wm1-x343.google.com with SMTP id z9so11990751wmk.1 for ; Mon, 21 Sep 2020 03:13:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=RRqhc8Nlwm2DDwWTkuXckex2GFJqP8TMEjH3RDhwROc=; b=lPohekoT479zA+Ink3ei/17Cf5QfQB8rgzWc9VJtDuLwo/MsOu1QdVWHwKW+iXfbFg 5SgfcvbsnMu91VIR9G54UU6GlwAKmRBLytahyVWxS6L4hpdX7aCEAXODfn3gYoW5BWuP FURKAIbbOqYBawyzXKfIiQOsxA7INJeaW/W8yxWMC0oWjEwl7Ery5Akl+M1tdplWCLHd ucFb91RYiS3u0qOaPRRwGZitmTr1jp5JwLQ4+91Va/fxq7NrLCfwNchXCL1LOP+VumaJ IRSZJMn1NyqsJUrP2WdZbI77gqCA47ZUReO8XyztySW4+Je74/PRinvGgcXOaffFjCKt mMfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=RRqhc8Nlwm2DDwWTkuXckex2GFJqP8TMEjH3RDhwROc=; b=EtQi7gf0w9iHwRykkZpjgemd78VJy3tpqzZQ6EslKd9lSM+0NratFdVjs42yHH0xQz aTaUBYsIgJsJbXdWCyC99L8sfwBJq0LUQu31vN3wo6tfzjXQ9DOpzyynDbanXq/B6osN sAdYYJ7HPDDpCEkLo6IVLG6uBsvYIli5Mxjpfh3RyMDBeWdfjQHt4NuchpHm3oMl57Wb JLAwwY8CNk6zyhZPIadKmbHE1uQ12QnSC2tjVO+1ogSXchID6//tVAuYj1pocR0fHifb CibTaLuHxGm9B3UNf/YcNRUNCkBy+NGqmnhdCu6tCsQWH71xF2ogltSxj8GXJ5PSGTeA lkfg== X-Gm-Message-State: AOAM533sSKQwbUcYOE47x/D/tk2inJDMP1ismm0GfIRZtqlEIabrUuuV p25k5s+d9yA5oC0lI96isQs= X-Google-Smtp-Source: ABdhPJyr58F+Cvw7KvfAN0WVqdVyAFJTi8qQQfvsHiTASAOUkP4u51PfEcNiAkswmY28OR4OYM/wFQ== X-Received: by 2002:a7b:c959:: with SMTP id i25mr30590820wml.39.1600683200125; Mon, 21 Sep 2020 03:13:20 -0700 (PDT) Received: from [192.168.0.18] (cpc83661-brig20-2-0-cust443.3-3.cable.virginm.net. [82.28.105.188]) by smtp.gmail.com with ESMTPSA id y1sm19249095wmi.36.2020.09.21.03.13.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Sep 2020 03:13:19 -0700 (PDT) Subject: Re: [PATCH] drm/bridge: dw-mipi-dsi: Use kmemdup cf. kmalloc+memcpy To: Neil Armstrong , Daniel Vetter References: <20200909190213.156302-1-alex.dewar90@gmail.com> <89c599d2-6766-df68-5359-7672679b3d89@gmail.com> <7450528b-4204-ce6e-63ed-0976ba412dd5@baylibre.com> From: Alex Dewar Message-ID: <274b0d15-25dc-27cb-dade-6f12c71e88e6@gmail.com> Date: Mon, 21 Sep 2020 11:13:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <7450528b-4204-ce6e-63ed-0976ba412dd5@baylibre.com> Content-Language: en-US X-Mailman-Approved-At: Tue, 22 Sep 2020 07:46:38 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jernej Skrabec , Jonas Karlman , David Airlie , Heiko Stuebner , Antonio Borneo , Philippe Cornu , dri-devel , Linux Kernel Mailing List , =?UTF-8?Q?Yannick_Fertr=c3=a9?= , Andrzej Hajda , Angelo Ribeiro , Laurent Pinchart , Markus Elfring Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" > Hmm, I applied this already: > commit 33f290811d4c1a09c4e92f5bf0458525835dbcba > Author: Alex Dewar > Date: Wed Sep 9 20:02:08 2020 +0100 > > drm/bridge: dw-mipi-dsi: Use kmemdup cf. kmalloc+memcpy > > kmemdup can be used instead of kmalloc+memcpy. Replace an occurrence of > this pattern. > > Issue identified with Coccinelle. > > Signed-off-by: Alex Dewar > Acked-by: Neil Armstrong > Signed-off-by: Neil Armstrong > Link: https://patchwork.freedesktop.org/patch/msgid/20200909190213.156302-1-alex.dewar90@gmail.com > > Neil Sorry! My bad. Thanks for applying :) Alex _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel