summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorSaravana Kannan <saravanak@google.com>2024-02-23 21:24:35 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-06 14:48:39 +0000
commit6f72b4458ead0d806aafd5ee71f93336da19fe0b (patch)
tree2a8eae8527b59230aef942037a38c3267c8e803a /security
parentd43f8e58f10a44df8c08e7f7076f3288352cd168 (diff)
downloadlinux-6f72b4458ead0d806aafd5ee71f93336da19fe0b.tar.gz
linux-6f72b4458ead0d806aafd5ee71f93336da19fe0b.tar.bz2
linux-6f72b4458ead0d806aafd5ee71f93336da19fe0b.zip
of: property: fw_devlink: Fix stupid bug in remote-endpoint parsing
[ Upstream commit 7cb50f6c9fbaa1c0b80100b8971bf13db5d75d06 ] Introduced a stupid bug in commit 782bfd03c3ae ("of: property: Improve finding the supplier of a remote-endpoint property") due to a last minute incorrect edit of "index !=0" into "!index". This patch fixes it to be "index > 0" to match the comment right next to it. Reported-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://lore.kernel.org/lkml/20240223171849.10f9901d@booty/ Fixes: 782bfd03c3ae ("of: property: Improve finding the supplier of a remote-endpoint property") Signed-off-by: Saravana Kannan <saravanak@google.com> Reviewed-by: Herve Codina <herve.codina@bootlin.com> Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Tested-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Link: https://lore.kernel.org/r/20240224052436.3552333-1-saravanak@google.com Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions