Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1481241pxf; Fri, 9 Apr 2021 09:24:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnotbduFRKCb5vpJ4xhXCEhnmh5nUQLQlwK3aFd2olSL+kmRU4ZzCQ1NUKTaSSWm8WCF06 X-Received: by 2002:a17:902:bc89:b029:e9:2cd7:382e with SMTP id bb9-20020a170902bc89b02900e92cd7382emr13494125plb.68.1617985490462; Fri, 09 Apr 2021 09:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617985490; cv=none; d=google.com; s=arc-20160816; b=xdCuzck2Kun+x9Dv9uM9zWD3CyolYFfkX02mbKqWIIOLz3b4qdtscdONkjdmFTytCM 8s7Gjo2TrU3lN5Zh9ywCQosB/vY/xHjw88c8926b7sVC/Gb30iKuQ1O1ChWiCep1Pog0 n/98YdN6yukECNhxO8RaqKRmVXmHFERtpEe8DHYgGgMYsqxgDnTXCyTdVBZBrN3jJw3F pUKSDtnfpjOMiTNHGwPhR2dpx1vxos3KbOJoomkLoiEGeW8TYdr4ap8KsfR0h9L5NJm0 80sHSDlz7Yn+A9qudtS7aadwWJOuJkqJSxkuKGBHX5AFfU+mqwoZsg9sfNMEa6cUeiSN rnIQ== 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=khLtmowjZzO6v13MnlInZsK6BHZ1iK8RjT0q2xizJXY=; b=ZQ1PVtLhgst4v0YwX51nlFNK136fhza6lzslF46P+RQvDEUmiJz6jyWTxAb31c9idq UOyR80oEezSKks+oYpkYIjbb/hiTqGZOPU984TET75TcjB9RX0x1Pkw1pHyK8k2XFewN m8oow6jGSyPUNTKPmqnawUFkSZIyqScyN7DxMWFohBoCq3CISQyySejggybh0pcIWtdO ZEJqQKyzJYZbXDnM++pKPIMYyYWcLbUR2adx10N4QGyGPw2wFIBX/mVqL2EG4CKMJd5z CUs7qNXZf7EP5YVn58juyIgneITXgZsUHj14NNk+7XK+Pf9L2IO+NCwYEkCbyBOp2Mhj Hd/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LIMfGDnc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mt3si3498768pjb.117.2021.04.09.09.24.38; Fri, 09 Apr 2021 09:24:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LIMfGDnc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S234091AbhDIQXc (ORCPT + 99 others); Fri, 9 Apr 2021 12:23:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:59734 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233864AbhDIQXb (ORCPT ); Fri, 9 Apr 2021 12:23:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5CE8C6105A; Fri, 9 Apr 2021 16:23:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617985397; bh=AtMxuAc0rwMUJsKBsJmtUeCRyl8bAabZIwT9Uehu7Bc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LIMfGDncmDxz4CzhaLYP43ccv+bf8F20uwitMuVe1kIpdOtT3mHlkgMqReY0G55SW wRBQXDInzUSPqQkzTecUsTnlr9TTA8L+wJVasrdTGJv5+LonihTyx+p8lQ5N2Bvk+v H6rFjlNsXq72HKwOylEX4lX//0JemTP0pV2Tu+iBxzJieoCR8mQiu+dg3B0//XmJqF VslgB9AndrumMls3xqyZVx6FqWyOjhLiYQ23kXoX3pecDxlQSeSjwJYNiA976+Jid5 UHH7oceyclz7ip9K0pG8+0C0AidLFKcwwLtlvDX7y5h/Wl1kNm8/cIqFeTFt6++YtA 0aOL1p2WGriyQ== From: Mark Brown To: Muhammad Usama Anjum , open list , Tian Tao , "open list:SPI SUBSYSTEM" Cc: Mark Brown , kernel-janitors@vger.kernel.org, colin.king@canonical.com, dan.carpenter@oracle.com Subject: Re: [PATCH] spi: orion: set devdata properly as it is being used later Date: Fri, 9 Apr 2021 17:22:39 +0100 Message-Id: <161798356987.48466.7574385472200837460.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210408195718.GA3075166@LEGION> References: <20210408195718.GA3075166@LEGION> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 9 Apr 2021 00:57:18 +0500, Muhammad Usama Anjum wrote: > If device_get_match_data returns NULL, devdata isn't being updated > properly. It is being used later in the function. Both devdata and > spi->devdata should be updated to avoid NULL pointer dereference. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: orion: set devdata properly as it is being used later commit: e980048263ba72dcdbbf45d59e84c02001340f75 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