Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1266101rwb; Thu, 10 Nov 2022 13:40:41 -0800 (PST) X-Google-Smtp-Source: AMsMyM6oAWQYtLLgNM6Xy9cvuKEi1VkUeDlsqyylLPA7y0BW5oj1kGHNMZnBx9jF2V9Xypt8SirE X-Received: by 2002:a17:90a:db09:b0:212:ec36:4d04 with SMTP id g9-20020a17090adb0900b00212ec364d04mr2199427pjv.158.1668116441550; Thu, 10 Nov 2022 13:40:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668116441; cv=none; d=google.com; s=arc-20160816; b=msymFhhT6zcoGTAm2EOPmjNCZGB6WhM00y1CR6SC0kfEotek2tOO0GEY920V+oO6k9 JA9whk+jnilH0MBYKECWIOuD9mdf0qUXhETbNnStlE4UH35tRNoNxsPqzgYJJgxl1A+t Y49x0+UktWfbwMZT4HCcn72eV+FgDD1r7u2yBLIKDh5vBaZxlCbWcDdx3ZzOmNto5xBD HKqW/gy3L8lXckoUoczBBjwmZNl/3LyJz9acVJD4pFRnsG5PtgAepM0geN8xeFY887KX XSG5tccb9+mc0/OA/FtibPcUrQICkpF1c1sQy45a7iWDNLGaQkGhPxZTrCVuPYwtbY4S M4Yw== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=l5uPjofLa7SC5dKV9AiFzQvFhXwkUnsBdgo5sQgUh5g=; b=PKsqfRvJQSYa5RF9kWnxpDvQ8pnILA0kqzhddM9nhcWEr54DJJsCdTROyH8GMZU9uG WN11f5prI9i2I7yoE/cI4COPSM93Txw28uT43tkDcF/ye2FlBRH0CYCr9UJLWIBpj3D6 ILfpl4FUAV51upvd366P4JsOYpVS+CnT73W7f5uOVjAKHGw6MAdQfSyrKZZwIGCLso61 SmpzLym92NWd6DGrdra3fX+c7OrEcXCTjbifyl2Xtzy4B4aE9ffYmuvCWpxu/62tMaJX qLuAG/M7eKSIMY74kE8JAti4Ie3mrggMZrnGWMhuK7xIWa78GvCQmiyprBCERcZ0mOfQ sIjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HyN9oylI; 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 rj10-20020a17090b3e8a00b00209b614417esi5155344pjb.88.2022.11.10.13.40.27; Thu, 10 Nov 2022 13:40:41 -0800 (PST) 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=HyN9oylI; 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 S231432AbiKJVNb (ORCPT + 93 others); Thu, 10 Nov 2022 16:13:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232294AbiKJVNR (ORCPT ); Thu, 10 Nov 2022 16:13:17 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0625E5987A for ; Thu, 10 Nov 2022 13:13:12 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 98F4361E59 for ; Thu, 10 Nov 2022 21:13:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BD0FBC433C1; Thu, 10 Nov 2022 21:13:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668114791; bh=xUlbt8lGL6/L92+ucepUNIZaiQsElYKjBgacD5hX4Kg=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=HyN9oylItR/fEeomFjfYfKEglkZuB3C3J/vie/Emny1hloo2ZfTEDRd30TCqF3b31 TM9UVJqZsKL96JIa58tv3IVWHSISATZLbDnn9NVfVomSEyTrfCvoTz24f/TIaYbTDJ NffStNG7jlWJQ7rY2f5H5u9Eut1HoWT6clljJ1ITaZkhnEjASshtLmDPM6sxfeFeDN rUjVr3MP3HfqBO4xmnuAc6kac2yCjQGcWRYpNsnRvDtz0+jKBkXwoahDwJFfnrQFKy A8CB+GjrM72PaNF+hvIjLM1mGNpVzckbhmc6EENDJRv2vGXkcyyXRD1Bqe2p1wdfWV srSqxi1EjHzBg== From: Mark Brown To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Yassine Oudjana , Aidan MacDonald Cc: linux-kernel@vger.kernel.org, Yassine Oudjana In-Reply-To: <20221107202114.823975-1-y.oudjana@protonmail.com> References: <20221107202114.823975-1-y.oudjana@protonmail.com> Subject: Re: [PATCH] regmap-irq: Use the new num_config_regs property in regmap_add_irq_chip_fwnode Message-Id: <166811478949.1075638.10692622037510321259.b4-ty@kernel.org> Date: Thu, 10 Nov 2022 21:13:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.10.0-dev-fc921 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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, 7 Nov 2022 23:21:14 +0300, Yassine Oudjana wrote: > From: Yassine Oudjana > > Commit faa87ce9196d ("regmap-irq: Introduce config registers for irq > types") added the num_config_regs, then commit 9edd4f5aee84 ("regmap-irq: > Deprecate type registers and virtual registers") suggested to replace > num_type_reg with it. However, regmap_add_irq_chip_fwnode wasn't modified > to use the new property. Later on, commit 255a03bb1bb3 ("ASoC: wcd9335: > Convert irq chip to config regs") removed the old num_type_reg property > from the WCD9335 driver's struct regmap_irq_chip, causing a null pointer > dereference in regmap_irq_set_type when it tried to index d->type_buf as > it was never allocated in regmap_add_irq_chip_fwnode: > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git for-next Thanks! [1/1] regmap-irq: Use the new num_config_regs property in regmap_add_irq_chip_fwnode commit: 84498d1fb35de6ab71bdfdb6270a464fb4a0951b All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark