Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp4043821rwp; Sat, 15 Jul 2023 15:21:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlGULalyF0Bb8Z0LVcDbzsebmKaunKC05jiZQjfEAauCLgf0pDt/+lpSWA4A0OmQ7sT9uPz9 X-Received: by 2002:a05:6a00:3016:b0:66f:3fc5:6167 with SMTP id ay22-20020a056a00301600b0066f3fc56167mr3301222pfb.1.1689459685627; Sat, 15 Jul 2023 15:21:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689459685; cv=none; d=google.com; s=arc-20160816; b=LOOEJp7He1423+pUfdSpwdwzS82GsaLNCsVVI9cU7OLchKTOuIfgEsp/6Y1cTKRfZL d6074DEgcgv1FZcdXq32UDrwGU6xTogW5zz9CcnEqMCsRyTGX3FUoVSmqzVAvDRL0UfQ ioxAa5gEvZmbkYBFmRqZnaS5wjj+6SqgiHfquMDwBqGyFGxxErYi1hqdtuRlRrCuNUe7 JwEA8fVhDIuhpMFvvSL3LODuMb9T5IwqY63vvXviqqJ59AHHuh9lUUM09VqVs9BhFaoh VFAiF0Pee8ztEZxMi+o6IK25ljPfVfSLdAG1GGoNgNOO8rVe/s9lYKpRU2Kop+gSBugj Kj2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hKQhpb/Z/Nuj7MCgcZ66npc3Gerxt/6oxssfVMTPeRQ=; fh=m95Swku0Ix1y3xr8LrzBzPlAREuDKfUfpzskEaauwJc=; b=FhirMHMSm4jc06UCxdnlDa9LVH+23sgUKhGEf/63LU1JTyPk+yX4cMBrL7zXUf5YdH 1mKDBuyYGcbyBKAoQ7tnt6AZcJaHEEgMaP/Wtf23NNrXjI9jC5p3iHrX0ux3fjsEsEhu 3ebsBnvjG7VrpRwUxMH3DwdD1lZmpSGknlKWr0knYpLwOtVTsTzhNoK35oqVVJOPRxUu qw4sdVpEY2dhEeVQjyURM5nUMieaCXNxZmh1Y65xp184vu1M3J55HlHxnpsZZxeUMpU3 HpjrgUo31SBNvgjvNytkp81evVMqsrmdKuDq+A+NoV9m16AMy1Xr3k241isRsX0AzwTP EibQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nrUjU2Jk; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c18-20020a624e12000000b006785d3c33b6si8963674pfb.285.2023.07.15.15.21.10; Sat, 15 Jul 2023 15:21:25 -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=@kernel.org header.s=k20201202 header.b=nrUjU2Jk; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230330AbjGOWKj (ORCPT + 99 others); Sat, 15 Jul 2023 18:10:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230190AbjGOWKY (ORCPT ); Sat, 15 Jul 2023 18:10:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87C7F2733; Sat, 15 Jul 2023 15:10:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0D88160C52; Sat, 15 Jul 2023 22:10:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 99F87C433C7; Sat, 15 Jul 2023 22:10:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689459021; bh=7eCargfUvIrN4nLaCEXO3KoyF6n6It+cusxqjuCXXWg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nrUjU2JkXF41YbfJ5GuqPb0Zp8Zgh2kXvWCa+aiT6V5h98ICXdeBIpkzy4plhY5BR 4W97SLouAo1Fz11KvnSpxtmWSGhplplx0kEBF9a5kwGglIQLDCbUBVqlCfMj1ckrMX KWzKkUu1fR0qrtWa7FzphjOtkm7No8Oe+57jzFbC9g30rM7eZpUMusIEK9kiNc7psu /GOzRLCWngRuN7+Wdckb3B6UGNO4v+M8QB4VLcSEK9ikvTqpdA5NW+NOzPtlGcklQH nGbT6eHg6IZgOuqLR3qldjSdrv2HMfN256iT7ZWB9fPDlEO8wcu8ZsA3gnrTFS+sIU ztVNOIJGlG7WA== From: Bjorn Andersson To: lkp@intel.com, Kang Chen Cc: agross@kernel.org, baolin.wang@linux.alibaba.com, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org, llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, ohad@wizery.com Subject: Re: [PATCH v2] hwspinlock: add a check of devm_regmap_field_alloc in qcom_hwspinlock_probe Date: Sat, 15 Jul 2023 15:13:36 -0700 Message-ID: <168945921468.1805013.6112623773454199482.b4-ty@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230227004116.1273988-1-void0red@gmail.com> References: <202302270034.DqtDwv49-lkp@intel.com> <20230227004116.1273988-1-void0red@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Mon, 27 Feb 2023 08:41:16 +0800, Kang Chen wrote: > devm_regmap_field_alloc may fails, priv field might be error pointer and > cause illegal address access later. > > Applied, thanks! [1/1] hwspinlock: add a check of devm_regmap_field_alloc in qcom_hwspinlock_probe commit: 3c81195a04e13833196462ab398d8bcf282701f7 Best regards, -- Bjorn Andersson