Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2588707lqo; Tue, 14 May 2024 03:30:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUsNU7r/85y85YKuWeHyZfGaSX35PYmTi2KGY4GB8ewTEkM3PcOtpnm5XES0QRT2P8va5QYPtR6W1tG+j6B1rU3A7kfv9ycOY/5iXfYTA== X-Google-Smtp-Source: AGHT+IGFBqtiREmOfVunXNCs207/3EBUH8kJ99jNF3GCVFhTgOscMGDmE3+X2LuucYeuY2uzkLKc X-Received: by 2002:a05:6214:2b97:b0:6a0:919e:5822 with SMTP id 6a1803df08f44-6a1679a5aadmr221968716d6.28.1715682602800; Tue, 14 May 2024 03:30:02 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f29aa28si115701456d6.283.2024.05.14.03.30.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 May 2024 03:30:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b=HHfghEzC; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=HKCAz5zG; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-178526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178526-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=oracle.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5F6CF1C2042F for ; Tue, 14 May 2024 10:30:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2EA2F1353F4; Tue, 14 May 2024 09:47:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="HHfghEzC"; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b="HKCAz5zG" Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4460013329B; Tue, 14 May 2024 09:47:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=205.220.177.32 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715680031; cv=fail; b=d1bdzLHL/zH8v8GlAFHrFSSN9lkb+3NCj/rsGGF9e598VFqjQU4IRqB0CQTMXci2RBFEzZiPFl7ezeo0lF8aDqQmBiUekTIjBo8fuRTpc6UfGBLTSzEAWMbHce2iL+QYD7RdnpnHv4QQ+c02Lyc3RMrBi/BXdwJHLOlPF+4JWJE= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715680031; c=relaxed/simple; bh=m5WST1Kbg32LHgtOsRF22H/1uQRqzdOKlq2JGRRrXrc=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=Q0oyWI9LUACfD5yWTCqmyv7aXvRL3nNAd/BKj9Ifetr8kMZUW27HtJbiRzNKiHNoPot4LHBIdcbdGsFoFb3YkuaDLl1JRe4qA+rIqjq41Z/wBbAzABOH6cF1F0QbDMXkUU9uMJDEr2IHW89BYRb+9g+qDVolQwgERmYbfdqNouk= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=HHfghEzC; dkim=pass (1024-bit key) header.d=oracle.onmicrosoft.com header.i=@oracle.onmicrosoft.com header.b=HKCAz5zG; arc=fail smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44DNi1O0009231; Tue, 14 May 2024 09:46:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2023-11-20; bh=hANbnUVNnAKKPHMFeLweBOB3WWEEP8cXKnuoTO+HqnQ=; b=HHfghEzCZNhCGv2cHESRlEL9AMYc4uKYq1IrF8j+saZQkjKRx7SbiMCrxnpp2QkUqmbX +MUAxzy7vevlQDiBoHUiChKMmQt5ir1yeSYfyZCdiZ6YwHaNPrHjOd3a4MzJpT1vkzvT GwoOAGDH0XlftdOULensz43sxdNoiIrcI1QLOHSK+Lbpapag56Vh9g3bv3ZtQfIKBmEV uJ+NSkdj9C3JDsDXSXl/YAJinHxKCVCiQSW3IV6xo/usbe8lLF4DCkgbO1+6XtnUYese DbOiYMx8jVWU8hD+S11XnbWxBl3HFasPhH6E+jdO0ZvTzdpPpv1LTvmJLQaSGdDh32xF VA== Received: from phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta01.appoci.oracle.com [138.1.114.2]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3y3rh799xf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2024 09:46:56 +0000 Received: from pps.filterd (phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 44E9UpBG038335; Tue, 14 May 2024 09:46:55 GMT Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam04lp2041.outbound.protection.outlook.com [104.47.73.41]) by phxpaimrmta01.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3y24pvt7jy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 May 2024 09:46:55 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TKimr4pCiz87YertPbmHs0sMcN6PBQvBIZroY8PUO3Y6WU+q8GqCGKi4mDwy9Q2XfaVYuz8IKl/DmNPgIIOfOa76psqQ2Z+Zy5LRT+KOaa5+N3lem9TDq5JPMZoroSVy5LVieK17uxPjrvjfC2AQarAwYQz/k5a2FNpGT8y1GQhPZqSHBY7y7opeb6Ys37xIulkQf8ZHCaIT7V6zUFS+ieDCdLlsBlJsxmMzLZk73aFrtJuk9yuBPpiCOkQFPoUhaUnVdKDPy6PnKTdXmoSlwgpqeaZ8YbJko501k3FYcCTvDNgK8HwZ+/hjGWCC0xRqIxcp4LrR4GGu/5hFS5TpOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hANbnUVNnAKKPHMFeLweBOB3WWEEP8cXKnuoTO+HqnQ=; b=IRLykwHfogl89kaCw4LVDMkDOqrR/7u5nuGS5qvYj8hjyHNQIk79O0tpMBPZ38PRpgwif+BREpgO8cYqNk3UHOvp1gEMBLiCjtro/yKLPBW1YvwL7KN5+CORmam9h5s2SXUc2+dSoKPIjleAmuKVUODWqrhiJ8gzYtb2ErcX97ezgngOq4GFxVj3rnFgI/dMa5pDvYG/Mi6XSUa1mIXyzVmptas66htzea+9OFZLL9QcjK4sY0p8sLT1/JR22EsXkH0BFXCjix2EqCkx/IpsKRuX1bo9nPPBgw+mLYmQfWDhHlbZfXjNH+knRku4pn3TMwrJJBPztkNW7VTKoXnK+w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hANbnUVNnAKKPHMFeLweBOB3WWEEP8cXKnuoTO+HqnQ=; b=HKCAz5zGaWxoOU3y7UZ0r+OmNv70EudYheLJDb2tmZGv+NpaoNqAM0HVJKuZtMvFb4lcnFvNIeBSUJSr2K2B1Ab/KEsATfI5PA6HUNkK9E0e7lbCRaafKDiJmrBrFv2UNoizCySOLRxyQM0+BWpzfm69Eq/hi84uaDuKpTjiVmA= Received: from PH8PR10MB6290.namprd10.prod.outlook.com (2603:10b6:510:1c1::7) by SJ0PR10MB4799.namprd10.prod.outlook.com (2603:10b6:a03:2ac::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.25; Tue, 14 May 2024 09:46:53 +0000 Received: from PH8PR10MB6290.namprd10.prod.outlook.com ([fe80::309b:26bb:11d5:cc76]) by PH8PR10MB6290.namprd10.prod.outlook.com ([fe80::309b:26bb:11d5:cc76%7]) with mapi id 15.20.7544.052; Tue, 14 May 2024 09:46:53 +0000 Message-ID: Date: Tue, 14 May 2024 15:16:39 +0530 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] media: imx-pxp: fix ERR_PTR dereference in pxp_probe() To: Philipp Zabel , Mauro Carvalho Chehab , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Michael Tretter , Laurent Pinchart , linux-media@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: dan.carpenter@linaro.org, kernel-janitors@vger.kernel.org, error27@gmail.com References: <20240514094458.3463408-1-harshit.m.mogalapalli@oracle.com> Content-Language: en-US From: Harshit Mogalapalli In-Reply-To: <20240514094458.3463408-1-harshit.m.mogalapalli@oracle.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: KL1PR01CA0064.apcprd01.prod.exchangelabs.com (2603:1096:820:5::28) To PH8PR10MB6290.namprd10.prod.outlook.com (2603:10b6:510:1c1::7) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH8PR10MB6290:EE_|SJ0PR10MB4799:EE_ X-MS-Office365-Filtering-Correlation-Id: 1f0d1c96-5907-4ffa-8d45-08dc73fac8d1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|1800799015|366007|7416005|921011; X-Microsoft-Antispam-Message-Info: =?utf-8?B?cFZZYlI4Y3owS1FaRWlQMzkxWVZLQXZuUUdnamR6STJzQm1rRUpOZFVRMnJ4?= =?utf-8?B?TGp6bEVJRkx2Z1NIQnRpYUdib1BmdDUwZitEQk8wSVFscGYrcG5sMEhVcmFz?= =?utf-8?B?Uzk5MGJtSWxUUUl0aU9YZksvaW52aUR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Xl1UTR1NXdnMTd5TDBKQVJQUitmK3p6OCtGOEM4UWFaNEtQWmNEY2lzak05?= =?utf-8?B?SklURHA3TExhOENYbUd5WGswcHc4Y09sWnVta0VzYUVlOHlhazlocDAyYUpo?= =?utf-8?B?dzVnUlhpZ1k5eFJmdVd0ZXZISWlxVnArZUdkc3pGb1BwRlJobnd1bkw3UENT?= =?utf-8?B?Y002TDVBdEJ3TGhOc2JVKzcvVFdra3AraWl4U242YW05VURhL3BtcnFjemhk?= =?utf-8?B?cVRrdE9KcGQxQ1dMYmJWM3RsUUt0UlZteGNuNWZDWTFpYXhLS0lmWWt4b3pL?= =?utf-8?B?ckl6NzRrMUtZNi9MYjBJV3RvQU9iQVJwci9YRXN4c1JqdWgwTUtKTGVVSnlC?= =?utf-8?B?YU5DVStha1BoSzFLYXptWGNYS2NvbkZPN2ZjZ2NYU09VNmd0R1g5YTRUbU9y?= =?utf-8?B?ZFZoaDBsY3ErQmxTUDd2eDM4R09EWXgxNzhacVNHY1pnVUk1OWFpaCtXLzNK?= =?utf-8?B?dUIzdm81UGJxTUF4dzI1clFvT2ZEaXZuWnJ6a0J6NE1uVTZIb0Y0dHJmcmR1?= =?utf-8?B?aWx1ZlloWGhKcTZYZURaZndCQzh3Tlk4MkRhVVh4K1hvUWozT2tRcmZXZ2ZE?= =?utf-8?B?S1M2VDIzMFNpczRlZ0pIMmhHLytMc3NCcWxzS3FDRVVMNEpZWTRDOVo4WXhB?= =?utf-8?B?NEZRaFhMeVFkdUNWZ2lyb3NCbDZnUnFxWHZ5dzFUVkVnVURlTk1FblpjclZ5?= =?utf-8?Q?sq5ddncJTBhWK0Z4A9edvoM9vUhMZlWZ+3yoT0H?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH8PR10MB6290.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(1800799015)(366007)(7416005)(921011);DIR:OUT;SFP:1101; X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sTrR8chXF/81GGj76b41mSvn/ap2iKEaTy1qopA79X2nAToPBbbaqi8YiAAG4VfaHwl0I0O07vPhqPHpSa8bdwE9B12Ldo1mCXX7/OQIKkaBElqe//JhsoGbujts0/Qbtf/OkQBYIqo4d3PkGbDwDe/+bqj1FrQWkZQlAxE+eDKdluH9Nd2JUYblB9Z9Jc0VnAh0= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f0d1c96-5907-4ffa-8d45-08dc73fac8d1 X-MS-Exchange-CrossTenant-AuthSource: PH8PR10MB6290.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 May 2024 09:46:53.0758 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Uqhk6Dy9aKlYBz8WpkRDyb3e/H0FyVw2YGCnjuTj2rFARALCuMDREl4X/1o417RuWim7DARyEF++tk+T6dsWeQsUL/rnCke7KnbAihl1FyVqwsnzykfMq6f5Pw3wsvOs X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB4799 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-14_04,2024-05-10_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 adultscore=0 mlxscore=0 spamscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405140068 X-Proofpoint-ORIG-GUID: rBTOZiJModipkoVUVi8VLUKTn8nHIIqw X-Proofpoint-GUID: rBTOZiJModipkoVUVi8VLUKTn8nHIIqw Hi, On 14/05/24 15:14, Harshit Mogalapalli wrote: > devm_regmap_init_mmio() can fail, add a check and bail out in case of > error. > Please ignore this patch, I will send a V2.(v1->v2, I have to remove %d in error message) Thanks, Harshit > Fixes: 4e5bd3fdbeb3 ("media: imx-pxp: convert to regmap") > Signed-off-by: Harshit Mogalapalli > --- > drivers/media/platform/nxp/imx-pxp.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/media/platform/nxp/imx-pxp.c b/drivers/media/platform/nxp/imx-pxp.c > index e62dc5c1a4ae..58c10156c7a4 100644 > --- a/drivers/media/platform/nxp/imx-pxp.c > +++ b/drivers/media/platform/nxp/imx-pxp.c > @@ -1805,6 +1805,9 @@ static int pxp_probe(struct platform_device *pdev) > return PTR_ERR(mmio); > dev->regmap = devm_regmap_init_mmio(&pdev->dev, mmio, > &pxp_regmap_config); > + if (IS_ERR(dev->regmap)) > + return dev_err_probe(&pdev->dev, PTR_ERR(dev->regmap), > + "Failed to init regmap: %d\n"); > > irq = platform_get_irq(pdev, 0); > if (irq < 0)