From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 DD04E1C54B4 for ; Mon, 16 Dec 2024 05:54:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734328447; cv=none; b=U73MuIWnPvVHSLnrctHuCZU5r0dPoq5OHC1PdKg87uye6BUMWxXdudKiz12H2w9RUtqsf+r6LHwYpdlIvILmsD21Kgq30MiTYTMhInPt9bkAj9r8l4TvXOlUNHvIc5dzINtjgtePVwJnf/3JSzQyBuO3NkFifHv1iJlFVz7/2Ug= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734328447; c=relaxed/simple; bh=ZNP0v3/4BomZoAEvLGEv2cgm7ao+GyUKQDkAYpR1azM=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=SxfW+8xxmG0cSbIuczQ0AbsICgmgU+k6gxqWFvZbGV4kC/OVLBcwWv6/afhixDn+wbaN3Tt1V56KRnL3CT+4lv6r+iU0PTTDcdsRvuiotPIfwkgUz4Tcc1V/stmSRe7d3C7UgJEoBIyuBDU+mi7cPX/OVxz1V7yHD6updE4fWOE= 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=cXRPzalh; arc=none smtp.client-ip=209.85.218.43 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cXRPzalh" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-aab9e281bc0so268841366b.3 for ; Sun, 15 Dec 2024 21:54:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734328443; x=1734933243; 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=w+dFO3Ui/sEdU+d4tBQlNTeaAHc3ObDp+PAoFFR+kSQ=; b=cXRPzalhrzVQbg4p208Qo/iCamDAmiRORkhlNuTK2WsdFgrc3WFUxq4sVSQAWfnv12 RD5tOMZchdnE6g+9EdRbA3dtOlWRQvtKkEPULAU0/J5uGXjLu3Zy+XBaQNPDRYo+bkMd PC38nJZ8wCnchHRMcg0noF/hFxpVyIJbnAAcYGYnnQA2MKdP/b1NeZVsCxlAbaoPS2jP nsnuC0wCOjH0cONf+HAdfUesp96AIxXrJoqCpE1e5IqAANj1ZGW582oIMqlK3/r+dgjs V4fbugV33XHmQJ6eBw1EP4KDuZUqAJC/RFJZxFT2ZnRDDswnCmQJehVUyWLNiKIyXvoc e7pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734328443; x=1734933243; 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=w+dFO3Ui/sEdU+d4tBQlNTeaAHc3ObDp+PAoFFR+kSQ=; b=I3uZY2NrjyQz4Af9q0Mm4hhPaZSxyzCIQBasD0Zw6CyFWMv+79V21KUoX9VddRneEr HHulMp2AKnp64gjUjCeWQO8koIK0eYdmG5P9HtwGMJ1dZqmfdjZas7dNfX26xXhgQ0vn c4a8ktmgkWFlNO1YOXjPAfYLeiMnVARI4liOv3DGEFo0i3mVnEjGQPA5DvDmCHhsrMij 67BRzsGpZ0BJHfGjMTjH+xv75LUlsmOeLJ9lqsAoJcLkQ0OD1fYzgb9aKlx0VM5wZOC7 uwJiw0hjkBAoHS48LZiWg/MsLZ8NW4Z17xe11xiR0WCtWD1pC/PnQTU+GtlQg4TKMDeg GSBQ== X-Forwarded-Encrypted: i=1; AJvYcCXdCO8G487HKWk4vrEOiPS/cDK5j/JxubWhfUJo3cPtEMNVNM90JBC5BsbvE4iNOoyRFdNi2P2FGuw2Aac=@vger.kernel.org X-Gm-Message-State: AOJu0YxS8XlG2pAnZ7WvuX3MNhXZIVzc4/MazcekzwyDTywuHzqGoa2J 2X9KWyNsiRj6sWLBz7SZRUA1ygFftz67mPu+mRcKSg33IcBdTxoOacQc200H+YY= X-Gm-Gg: ASbGncsMPbQH9Z9gpYAKuDej+x9Xo0VPPqhUat9TJVVjkv/AEHUlcf3qROsrhtpDDLO c5sej7BZ1599Xoq92xXM3zJgz7y73FDEpgnkPezaunocEl3ytBc/Ik/s4L0+2QoQeSPp9f4/bHs Tza7ge3FkoarnbHEJ5Q42DuoDIoG9sDA6gIZimCPmoecBerufFMEnO4DNGbSe/HtCAyWVW74EN3 oqOxyXxQDLlAc9B9SVrANtUfaBOL9ubepetjhF3dGsKkjW5duDyqHI8O7wwOQ== X-Google-Smtp-Source: AGHT+IFoSvWSFfIldErFNpAMajYw9cB5vCOVjo6HVzQrtAlbPuyC5xoikuxSZeInpDkydeS20+n9Qg== X-Received: by 2002:a17:907:7216:b0:aab:76bd:5f8e with SMTP id a640c23a62f3a-aab77ed35d6mr1120600366b.53.1734328443208; Sun, 15 Dec 2024 21:54:03 -0800 (PST) Received: from localhost ([196.207.164.177]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aab96006c2fsm286466466b.9.2024.12.15.21.54.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2024 21:54:02 -0800 (PST) Date: Mon, 16 Dec 2024 08:53:59 +0300 From: Dan Carpenter To: oe-kbuild@lists.linux.dev, Vitalii Mordan , Greg Kroah-Hartman Cc: lkp@intel.com, oe-kbuild-all@lists.linux.dev, Vitalii Mordan , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Aaro Koskinen , Felipe Balbi , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Fedor Pchelkin , Alexey Khoroshilov , Vadim Mutilin , stable@vger.kernel.org Subject: Re: [PATCH] usb: phy-tahvo: fix call balance for tu->ick handling routines Message-ID: 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: <20241209152604.1918882-1-mordan@ispras.ru> Hi Vitalii, 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/Vitalii-Mordan/usb-phy-tahvo-fix-call-balance-for-tu-ick-handling-routines/20241209-232934 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing patch link: https://lore.kernel.org/r/20241209152604.1918882-1-mordan%40ispras.ru patch subject: [PATCH] usb: phy-tahvo: fix call balance for tu->ick handling routines config: alpha-randconfig-r072-20241215 (https://download.01.org/0day-ci/archive/20241215/202412150530.f03D8q1a-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 14.2.0 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/202412150530.f03D8q1a-lkp@intel.com/ smatch warnings: drivers/usb/phy/phy-tahvo.c:347 tahvo_usb_probe() warn: passing zero to 'PTR_ERR' vim +/PTR_ERR +347 drivers/usb/phy/phy-tahvo.c 9ba96ae5074c9f Aaro Koskinen 2013-12-06 341 9ba96ae5074c9f Aaro Koskinen 2013-12-06 342 mutex_init(&tu->serialize); 9ba96ae5074c9f Aaro Koskinen 2013-12-06 343 125b175df62ecc Vitalii Mordan 2024-12-09 344 tu->ick = devm_clk_get_enabled(&pdev->dev, "usb_l4_ick"); 125b175df62ecc Vitalii Mordan 2024-12-09 345 if (!IS_ERR(tu->ick)) { ^ This typo breaks the driver. 125b175df62ecc Vitalii Mordan 2024-12-09 346 dev_err(&pdev->dev, "failed to get and enable clock\n"); 125b175df62ecc Vitalii Mordan 2024-12-09 @347 return PTR_ERR(tu->ick); 125b175df62ecc Vitalii Mordan 2024-12-09 348 } 9ba96ae5074c9f Aaro Koskinen 2013-12-06 349 9ba96ae5074c9f Aaro Koskinen 2013-12-06 350 /* 9ba96ae5074c9f Aaro Koskinen 2013-12-06 351 * Set initial state, so that we generate kevents only on state changes. 9ba96ae5074c9f Aaro Koskinen 2013-12-06 352 */ 9ba96ae5074c9f Aaro Koskinen 2013-12-06 353 tu->vbus_state = retu_read(rdev, TAHVO_REG_IDSR) & TAHVO_STAT_VBUS; 9ba96ae5074c9f Aaro Koskinen 2013-12-06 354 860d2686fda7e4 Chanwoo Choi 2015-07-01 355 tu->extcon = devm_extcon_dev_allocate(&pdev->dev, tahvo_cable); -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki