From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="BePcy9Vz" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B1B1103 for ; Fri, 1 Dec 2023 15:05:12 -0800 (PST) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B1MwILp026084; Fri, 1 Dec 2023 23:04:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=JbmJUxGmyl3V+0aKXYQtcC2Ntc9Hh1h4uemIWseQ9Tk=; b=BePcy9VzkYSWyzeolA1H9r6rFEWaYfumbbHZez5+xc9Lt4Xu6mQqT3GavjY72bHAyC6m M5FviY20Z9oylhrxA9aDSrVZ+a9jFIALmZAP2Eok26iZKSFds3wgQJcMYOv1Crw1jqsm baVhPJ8ns66oCz/2WVfaX9rCtNAT8yLIsIkmK/xgPVhS0QF7WYXkv7b0DG3S2E8C4P0J c+CsOhGBhne9ViGAmNak+d8tdjr6S5LJXwDYD7cuRzjkO8y3ZtxkJTQTP1Din6Qf0r/f 50l7r06lqkCVNW+YMDq/3EtOoA04QN06fUMs2u/EAiOMLLoQ6fflPL6xuLkjbJrYx+0T cw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uqjf1rwr9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 01 Dec 2023 23:04:57 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3B1N4uGk016988 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 1 Dec 2023 23:04:56 GMT Received: from [10.110.73.134] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 1 Dec 2023 15:04:55 -0800 Message-ID: <0749c652-0ac7-db1d-88bb-63cb5921798f@quicinc.com> Date: Fri, 1 Dec 2023 15:04:54 -0800 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 07/17] drm/msm/mdp5: use devres-managed allocation for INTF data Content-Language: en-US To: Dmitry Baryshkov , Rob Clark , Sean Paul , Marijn Suijten CC: Stephen Boyd , David Airlie , Daniel Vetter , Bjorn Andersson , , , References: <20230708010407.3871346-1-dmitry.baryshkov@linaro.org> <20230708010407.3871346-8-dmitry.baryshkov@linaro.org> From: Abhinav Kumar In-Reply-To: <20230708010407.3871346-8-dmitry.baryshkov@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: g_41RQaV0pl8MX_2NHKjjzhdgvZ-M5s5 X-Proofpoint-GUID: g_41RQaV0pl8MX_2NHKjjzhdgvZ-M5s5 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-01_21,2023-11-30_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 suspectscore=0 phishscore=0 adultscore=0 mlxlogscore=812 mlxscore=0 lowpriorityscore=0 impostorscore=0 spamscore=0 priorityscore=1501 bulkscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2312010140 On 7/7/2023 6:03 PM, Dmitry Baryshkov wrote: > Use devm_kzalloc to create INTF data structure. This allows us > to remove corresponding kfree() call. > > Signed-off-by: Dmitry Baryshkov > --- > drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 7 +------ > 1 file changed, 1 insertion(+), 6 deletions(-) > Reviewed-by: Abhinav Kumar