Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp838092rdb; Fri, 9 Feb 2024 02:45:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUOYY3WtaYeoYQSo/JKxeQd+mlH6SK3JtrDEIdjWUqIJmiI7/Rp6JM4ZDPGE6qAGRos4IVuBfJEI85bTHcW3K67uaFhMtaM/W/4mEkY6g== X-Google-Smtp-Source: AGHT+IGI0ahZjmva2YE2ccDkbYVFjfMJG/QUqThG/5kat3vARNVUngLEBsjBPMPkkktz6rkLTK0C X-Received: by 2002:ac8:58ca:0:b0:42b:e6d4:e488 with SMTP id u10-20020ac858ca000000b0042be6d4e488mr1118658qta.12.1707475517362; Fri, 09 Feb 2024 02:45:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707475517; cv=pass; d=google.com; s=arc-20160816; b=rgu9CcpfMAMok93p8qhhB9t+wTGBT6ZKxF4qTaz7r/UstyFdj1/b9SLQKn/au2VWpv N2Dl3RauCj+CV7H7yHU0W/0ABRiqNmRMCS6XghBl7zEx745pELgKr7kFsENxCm51PzAH 85jduNEOiq5AC6064YrBT1Vr9SrNpkqZTGn8mXw8AjnFASzif//f7PLDlqY1J+VlzE9b 9dHxNBRxeT1nv+Wdt7jofrBqaOfQLoHkiBNQXuTz60CO2BCShaaa2WuWn3yu3FmEVR5V MaPdWH9H9kCqa/OT5DklpzG7txAHimz2z0NQDUa8jqbehIIou7qpkHwsOsbbrpeBrffZ wA4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:subject:cc:to:from :date:dkim-signature; bh=ufiK/AwoGBnph0IZzYo7gGHR9qgDp2zpSqPlnrqsLUg=; fh=txVKJg9bCbrfZxnyh680DAKRbzaOzSgQnvbF5sCriNA=; b=iQJjCJjhymwIO013oA7fBh4/LoAdU/QOgtUfHcfA3fcLhTmOII1eHhyMkpqCkof+Sd PRmaH9O8jX9YKMYpeCyZsTeA8AhD5HcURQ5Icba5zksNbffcpghPn/MHlqfVlbwLi/2d CcETyxXuH9wd4HpQlOpSpPex1vs+FtkcXQiU9M6mwxj1ciS22++i3qeq99LVTaExETxU u5dTG7JWIYsTU8gQhE/lIkU47/+KDvbPJw/MA9ZIMwEKtkevZwPRTTrlD9uXosC0Zlv/ F8CiZ19J2j/l1G3xQH6Z6ExNvQQ4s6us/B5PCX6bQQlQTnxPTpk8CCArJi4pYx6qPtHD mLpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="sytJY/KP"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-59239-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59239-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCUWaSJwThU9brmI5v8bj1LFrWThW4Qmpx2iXsV+8d6Uk7LPPQXMEyBPmHjNcsS4RdWbvrW/kH7/bFZEQ6aR+ef4YXECSSjXt58EHtT9kg== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id k8-20020a05622a03c800b0042bf6e0296asi1537260qtx.541.2024.02.09.02.45.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 02:45:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59239-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=@linaro.org header.s=google header.b="sytJY/KP"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-59239-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59239-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 D38F11C211CC for ; Fri, 9 Feb 2024 10:45:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CDF922075; Fri, 9 Feb 2024 10:44:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sytJY/KP" Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 62BDC1F952 for ; Fri, 9 Feb 2024 10:44:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707475498; cv=none; b=tgtyhzSjyUlMOD+iGa7l4D2wKc0YlXRg9u4IhOTPGICtja/c1HC6UgqwNrNmgVskyq1MQAwOf6LjUXDJmMk36eVvQXEDQFqXLJ2yw1KVUpFxllwv5ag/1MxtIqJUtZrk+8ZeDMKoFkGvSzdtpSxGZw/XoE2tMTEQiC/yGReVyYc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707475498; c=relaxed/simple; bh=0qyI/gAu4ZJlfLwIOWsskUoL5PfJkS1ylp4Ng0x+uIE=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=tkeUrtnpNZ2HsQuSxKEcnaDg+dD9ia9DliKaxeoruiAAWm72CJhIer7V2bG5pVmScvvAWTzNCAlTR5SMzN52+ksqyodi1iv8AqLUUnz6TtkzjtOUQy2P1PwnWJddYCaM8Oa9XGBmr1UJCFANI56VM4SRCYMTZA5Dd6LNuPuD9vo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=sytJY/KP; arc=none smtp.client-ip=209.85.218.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ej1-f48.google.com with SMTP id a640c23a62f3a-a30f7c9574eso90471466b.0 for ; Fri, 09 Feb 2024 02:44:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707475494; x=1708080294; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:message-id:subject:cc :to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ufiK/AwoGBnph0IZzYo7gGHR9qgDp2zpSqPlnrqsLUg=; b=sytJY/KPswOY/tulG5ho2eTfeInnevGiWO1aNXArSJdTDi2RlBOv9uuimV8HN8MYG5 qR6UlJQpD/OX2NQiUf7Vzlh8htKSDRePgqw42DMTzRWKZjkXK6z7hD0DEWOts2SkC77/ 82K6IFQLYVJc+/Cpvz8u+/EjK8ykhPnAffQla9Ucmggtg2ZStlCIvM8PwMJAlNA4aJ45 OwqR2B0QZegfHp9SU+xJTniWqsMcfMfLcxaZx2zI0eQV9JtrrW3wRjbdv+80UDYktC4Y 6S2RzBSHfNI+qVTx0/Ze/WwXvPbsRYUaMFHCCnxI44MXX0+sPhuQWgRPwO0rlKmKcki0 oVtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707475494; x=1708080294; h=in-reply-to:content-disposition:mime-version:message-id:subject:cc :to:from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ufiK/AwoGBnph0IZzYo7gGHR9qgDp2zpSqPlnrqsLUg=; b=XVRX7Kx9kZBC0u7eAkM95J80WVT/lHcCwqD3vNXaC4JCcKhZV+Y+9PGX2l1HMpk7gI Uvl9jNrOSKGukfYfpdctbWgz821KNJZmqdmqsgLSspdI1QKJxtXxFMMZC8o8PuJK73iF VFzUXB1afui+JolN2UwaEx29raKFOxU/oL5mchMhcN39QGhK6Z3fZIDRKvJPLwx1uNz4 fWu4jpE+a+ZxYz+N4BMaa2Yj7xychvB5rQogXLlzFZZRpbVv5SVS/j6lQa0nMLKZPUHv AucjbocQGb7Za+HepseA2/ADCwedRqzD068TP5BYqXMukJaQ6f1T5ydJYyOeoA1i/eEp 3pBQ== X-Forwarded-Encrypted: i=1; AJvYcCVbuSPUqYmWA5/MOSNlqMXc3fynVGEUxXFRQ2BmjtH8J0M4NxRgPrcXdg2+8w9uaotd7tf+ahCkb5PX6yMF5VhsgWlsFhS6Mt/f7WoE X-Gm-Message-State: AOJu0YzOvL93lGEBdybPkIFAXxzy9t/W7A1NOGnI2y5LlBgJFV/5Q9Wc qaVUkJQ0MtZEL0oyNqjexnXWJ5GGN7TsQOHx351pSbNy4/BKQ71NK/3XU3Y1ySM= X-Received: by 2002:a17:906:ce32:b0:a38:9ff:571c with SMTP id sd18-20020a170906ce3200b00a3809ff571cmr826572ejb.9.1707475493711; Fri, 09 Feb 2024 02:44:53 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXxmx2xbvCtX9cdjQK7LWMARKC4KfxZaOTLJ1aOxw/b6X1nBR3D0/gcULbBz+tTFmUrigGigD57yCCNn8t1CB3Zo2TmGsUZp7iFsHHdnetrKztQCb6bVe4ZI4OE5KMmsJl7J7hXaqSx5lJlHQ5UJUJbSmo0ISFXrWjVJiAH6BKmOH0LAVC7j32IPan/0tlKpBJaiXQrrIT50QISg+8snRtDeNvo3pA8fSG09Lxp/tIb7K109IVl89ef0NZ0HBg2J5ZsmCi0nzWllNArK1NSMayVDmDmeFSIoErSKRjrDoOx3Kk5gtQlprjhtaScnRSYWJiw+ppsfEFZHLUwvf92hQAwNHF8RrmrHBzqUcOE+mRxM6aFEiSiONVg4ytuPhqaRfOP0g6YFuvbnwOMT4MxBkthE0sGZN+icCQb18k89kXNUOLCTxGJpf3WYG3ILO4sucvkKA9SCCI++4muNlMklW9oZSfd5+wc139jAy0qpa1MHhiBobBpx9zn/XeK7H83pfaHyW6JF3mguM6ZUjyiOOdUNfdxUNuYqMg1rtKoJsUpnTJANEX1bjI+Omu1vK/0cPkH+DgcC1qAIfN11K2Bq54pIIM6XY3Crcxs8SArFssDN9Bc8dvnfgFgNB4NqnWQP0ZKiNfJYfOuNdlG9M8w3L8= Received: from localhost ([102.222.70.76]) by smtp.gmail.com with ESMTPSA id gr1-20020a170906e2c100b00a311ab95fbdsm638306ejb.63.2024.02.09.02.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 02:44:53 -0800 (PST) Date: Fri, 9 Feb 2024 13:44:49 +0300 From: Dan Carpenter To: oe-kbuild@lists.linux.dev, Jagadeesh Kona , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev, Vladimir Zapolskiy , Taniya Das , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Imran Shaik , Ajit Pandey , Jagadeesh Kona Subject: Re: [PATCH 2/5] clk: qcom: videocc-sm8550: Add support for SM8650 videocc Message-ID: <63a0302d-8f36-4675-b390-75f546261c6e@moroto.mountain> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240206113145.31096-3-quic_jkona@quicinc.com> Hi Jagadeesh, kernel test robot noticed the following build warnings: https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Jagadeesh-Kona/dt-bindings-clock-qcom-Add-video-clock-bindings-for-SM8650/20240206-194148 base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next patch link: https://lore.kernel.org/r/20240206113145.31096-3-quic_jkona%40quicinc.com patch subject: [PATCH 2/5] clk: qcom: videocc-sm8550: Add support for SM8650 videocc config: arm64-randconfig-r071-20240207 (https://download.01.org/0day-ci/archive/20240209/202402091804.SdrSLt10-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Reported-by: Dan Carpenter | Closes: https://lore.kernel.org/r/202402091804.SdrSLt10-lkp@intel.com/ smatch warnings: drivers/clk/qcom/videocc-sm8550.c:590 video_cc_sm8550_probe() error: uninitialized symbol 'offset'. vim +/offset +590 drivers/clk/qcom/videocc-sm8550.c f53153a37969c1 Jagadeesh Kona 2023-05-24 543 static int video_cc_sm8550_probe(struct platform_device *pdev) f53153a37969c1 Jagadeesh Kona 2023-05-24 544 { f53153a37969c1 Jagadeesh Kona 2023-05-24 545 struct regmap *regmap; f53153a37969c1 Jagadeesh Kona 2023-05-24 546 int ret; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 547 u32 offset; f53153a37969c1 Jagadeesh Kona 2023-05-24 548 f53153a37969c1 Jagadeesh Kona 2023-05-24 549 ret = devm_pm_runtime_enable(&pdev->dev); f53153a37969c1 Jagadeesh Kona 2023-05-24 550 if (ret) f53153a37969c1 Jagadeesh Kona 2023-05-24 551 return ret; f53153a37969c1 Jagadeesh Kona 2023-05-24 552 f53153a37969c1 Jagadeesh Kona 2023-05-24 553 ret = pm_runtime_resume_and_get(&pdev->dev); f53153a37969c1 Jagadeesh Kona 2023-05-24 554 if (ret) f53153a37969c1 Jagadeesh Kona 2023-05-24 555 return ret; f53153a37969c1 Jagadeesh Kona 2023-05-24 556 f53153a37969c1 Jagadeesh Kona 2023-05-24 557 regmap = qcom_cc_map(pdev, &video_cc_sm8550_desc); f53153a37969c1 Jagadeesh Kona 2023-05-24 558 if (IS_ERR(regmap)) { f53153a37969c1 Jagadeesh Kona 2023-05-24 559 pm_runtime_put(&pdev->dev); f53153a37969c1 Jagadeesh Kona 2023-05-24 560 return PTR_ERR(regmap); f53153a37969c1 Jagadeesh Kona 2023-05-24 561 } f53153a37969c1 Jagadeesh Kona 2023-05-24 562 5ab3df7257a04f Jagadeesh Kona 2024-02-06 563 if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8550-videocc")) { 5ab3df7257a04f Jagadeesh Kona 2024-02-06 564 video_cc_sm8550_clocks[VIDEO_CC_MVS0_SHIFT_CLK] = NULL; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 565 video_cc_sm8550_clocks[VIDEO_CC_MVS0C_SHIFT_CLK] = NULL; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 566 video_cc_sm8550_clocks[VIDEO_CC_MVS1_SHIFT_CLK] = NULL; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 567 video_cc_sm8550_clocks[VIDEO_CC_MVS1C_SHIFT_CLK] = NULL; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 568 video_cc_sm8550_clocks[VIDEO_CC_XO_CLK_SRC] = NULL; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 569 offset = 0x8140; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 570 } else if (of_device_is_compatible(pdev->dev.of_node, "qcom,sm8650-videocc")) { 5ab3df7257a04f Jagadeesh Kona 2024-02-06 571 video_cc_pll0_config.l = 0x1e; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 572 video_cc_pll0_config.alpha = 0xa000; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 573 video_cc_pll1_config.l = 0x2b; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 574 video_cc_pll1_config.alpha = 0xc000; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 575 video_cc_mvs0_clk_src.freq_tbl = ftbl_video_cc_mvs0_clk_src_sm8650; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 576 video_cc_mvs1_clk_src.freq_tbl = ftbl_video_cc_mvs1_clk_src_sm8650; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 577 offset = 0x8150; 5ab3df7257a04f Jagadeesh Kona 2024-02-06 578 } no else statement. 5ab3df7257a04f Jagadeesh Kona 2024-02-06 579 a2620539ae2529 Dmitry Baryshkov 2023-10-16 580 clk_lucid_ole_pll_configure(&video_cc_pll0, regmap, &video_cc_pll0_config); a2620539ae2529 Dmitry Baryshkov 2023-10-16 581 clk_lucid_ole_pll_configure(&video_cc_pll1, regmap, &video_cc_pll1_config); f53153a37969c1 Jagadeesh Kona 2023-05-24 582 f53153a37969c1 Jagadeesh Kona 2023-05-24 583 /* f53153a37969c1 Jagadeesh Kona 2023-05-24 584 * Keep clocks always enabled: f53153a37969c1 Jagadeesh Kona 2023-05-24 585 * video_cc_ahb_clk f53153a37969c1 Jagadeesh Kona 2023-05-24 586 * video_cc_sleep_clk f53153a37969c1 Jagadeesh Kona 2023-05-24 587 * video_cc_xo_clk f53153a37969c1 Jagadeesh Kona 2023-05-24 588 */ f53153a37969c1 Jagadeesh Kona 2023-05-24 589 regmap_update_bits(regmap, 0x80f4, BIT(0), BIT(0)); 5ab3df7257a04f Jagadeesh Kona 2024-02-06 @590 regmap_update_bits(regmap, offset, BIT(0), BIT(0)); f53153a37969c1 Jagadeesh Kona 2023-05-24 591 regmap_update_bits(regmap, 0x8124, BIT(0), BIT(0)); f53153a37969c1 Jagadeesh Kona 2023-05-24 592 f53153a37969c1 Jagadeesh Kona 2023-05-24 593 ret = qcom_cc_really_probe(pdev, &video_cc_sm8550_desc, regmap); f53153a37969c1 Jagadeesh Kona 2023-05-24 594 f53153a37969c1 Jagadeesh Kona 2023-05-24 595 pm_runtime_put(&pdev->dev); f53153a37969c1 Jagadeesh Kona 2023-05-24 596 f53153a37969c1 Jagadeesh Kona 2023-05-24 597 return ret; f53153a37969c1 Jagadeesh Kona 2023-05-24 598 } -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki