Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2301923rwi; Fri, 21 Oct 2022 02:09:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4MjEvftf8tM0nYM7wiuJJjFjiidxzJOBm4hs7zX2wyHcp2YYMTHDVHxo2zbRvQ7dcI/x9H X-Received: by 2002:a17:90b:1d8c:b0:20d:3180:3e8a with SMTP id pf12-20020a17090b1d8c00b0020d31803e8amr21027489pjb.68.1666343363535; Fri, 21 Oct 2022 02:09:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343363; cv=none; d=google.com; s=arc-20160816; b=eonX9ak9ryPa3zeGqJWz881Fos6BTFzAnMwndryYaZkZWVsyMI54tTWnVHiQf4JZD3 pe2sSW3mQyEKL0BzPGiyfRnd/tA/2OQr/IEkfIfk/xzYqc6DO/aikQPUNQBPXjUKKF24 oTujZL1oQvFQySfdVCKg9s4q9zrC1FUXPhHkU9HgpJqLp448FTmmwoigBiUec5RxWnIf QVhvGCZ0i0a5XbAIeG+aIl7iM2gk7GRpRGTs/ve1K0KIjXC51XIhvsW05OB7VHEVEFhx mUNsTKYrsc3KjzAf/SE3IYO1intz+ZfEMPmZ1xLYuatKn/36zej0+gSW4JgUDTQW1AUM iEQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=INgR/3LgqJRaQPIJjhEy1WHez6MV0ff5fuvIJZp0Ck4=; b=D3DuDCc5NyMaz8exp1hg5r3MPYF/zlSryGEwUN1QB9+Tnfi1yIDWiWRNr+1wlAUB+7 j7ap05ZVOhgqRr4a7KHGfEpesNrC32Ri5R1PPZGdgr3oxzRElkSJxUWjgcTaX4iqhFex 9hzUO9GryUnqW6rMNAFB447aUd0A79eq1/9Fr/TOk21mtIX47tsiB7VOPMQssfSC09qh jdvBIkMUnHYvsGmbRj+9G3n91cOfjOvTXpTzy8W/rzU3Pff7DxHMl/AwaRXkC+zhAgUW PvAVfpeGYN6qOusVTLrbCJEE8w+ZC6cVdGC+uS4d/YAQujuDoqfdeN8qsPu+hCm/PJ6b qMuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=mYvD6b4i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a65484a000000b00457dc916cd8si24733942pgs.152.2022.10.21.02.09.12; Fri, 21 Oct 2022 02:09:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=mYvD6b4i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229785AbiJUIr6 (ORCPT + 99 others); Fri, 21 Oct 2022 04:47:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230394AbiJUIrk (ORCPT ); Fri, 21 Oct 2022 04:47:40 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCA4D1B5749; Fri, 21 Oct 2022 01:47:28 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 261DF6602253; Fri, 21 Oct 2022 09:47:27 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666342047; bh=3eiZ7szUM3OGxgQJ5CQfnDH0rk8YT6swITKmzLR52I0=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mYvD6b4iGePjjlYqWTUkjv03Z2uF4Z06HMzaQSws37T6h4GfMD7/RC4cZHOQpCCQ/ gDOmvcEdZlcDTL5Kkzn5wJf0h6g9Yyien7kiONzKR+T/Vj2/HXWQsT5sIgZNs9Y6N5 sjzzJTZ5V5Bgqpqn8TuMDVyhU+exACNyS+H98skwKVTV65XhLKYFhxgJA4WRFlegP0 PqT9UwHu8IuKkZKPHtAI6qsGoLJdHT8bxWt7caV5MUR3QQfkUC6gwWk1idweWTbKVj leq32C5jEGq8sxU6Q8Xn+rwoVpHlpK53QtoHdAOh4YeJZtFdXUJHIdj9LucWVU9md8 LllCcCo8U8ZLg== Message-ID: Date: Fri, 21 Oct 2022 10:47:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: Re: [PATCH v3 3/3] media: platform: mtk-mdp3: fix error handling in mdp_probe() Content-Language: en-US To: Moudy Ho , Mauro Carvalho Chehab , Matthias Brugger , Hans Verkuil Cc: Chun-Kuang Hu , linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20221020071800.20487-1-moudy.ho@mediatek.com> <20221020071800.20487-4-moudy.ho@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20221020071800.20487-4-moudy.ho@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 20/10/22 09:18, Moudy Ho ha scritto: > Adjust label "err_return" order to avoid double freeing, and > add two labels for easy traceability. > > Fixes: 61890ccaefaf ("media: platform: mtk-mdp3: add MediaTek MDP3 driver") > Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno