Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp794208imm; Wed, 17 Oct 2018 08:25:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV623agxRvjgikHPzZuJh0Xf9xst5tnICNzhGdcf87E31ehAoSKSRl1FCuVShV9M+RCd+dRK6 X-Received: by 2002:a63:da17:: with SMTP id c23-v6mr25544536pgh.23.1539789900303; Wed, 17 Oct 2018 08:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539789900; cv=none; d=google.com; s=arc-20160816; b=1D4grWl2lwm02iI0crEqYQTi2iWmEx5Pl3kXuRhYnTv8S+4eDTXfzfuogmHbIp23MG /qAVOSOCJCRfOleO7p1E0sZwqPI5jx1HVWrmbnMS3RTIsotliJ9fc8bob4Y0kYb6C9/D 9eNpuvJM5f7FtNk0CjdGiAZVBapbCsi4LvpfO/27gFoIhzvDpu4iaKgL11gOiMcvPOG7 ng+aXu4fAZ9UKbP6fHEdDYaEUUoimUh2FV+kZL4PrXSflaC92TAMJqLAods/ve397ZDo MIq276B0Y9dvJfa39KH8OZmxWhyD1BT+yyO/LtjEOaey7sMIZOTbgFLZV3OYkzd42H+n VywQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=g0K1aFQ8/XZ8HCls+6/2G7Ve0JWnnbAtChk68WtMu68=; b=GTYv4i9H4DbaGEFaIszRZp6bsfVRoI190+DzkYHmdLvfpGyj92RD25K3u2GOXsESe8 y68ahP/Z/Fk/UXbV6G3NiJO06TcV6ZmzQWSeyI2McgnQxQ1O67yT+qW7+tu+gKT2OhWX t5PuOMdAOGsRxY988Efc1KO36xTyKrJ9IV2IGkzUF5zZtmbF2XRlj3UuK8CUqqmu7+R+ CJzkmj4oXFXdHCz+JN6nC60SAV8oO3JK7XwTjEH7AmPuZ8lP2hxy3oOhhphrNoMX1eDm 7BRTeLzh2XfXJBh34gEKyu2pld+QhyadJLAuM9+aKOgXgB2f8JNE9xWfrEaAqeMWKxRO fIUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a36-v6si11790556pla.276.2018.10.17.08.24.45; Wed, 17 Oct 2018 08:25:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727665AbeJQXUI (ORCPT + 99 others); Wed, 17 Oct 2018 19:20:08 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:41675 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727013AbeJQXUI (ORCPT ); Wed, 17 Oct 2018 19:20:08 -0400 Received: by mail-ot1-f68.google.com with SMTP id c32so26573665otb.8; Wed, 17 Oct 2018 08:23:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=g0K1aFQ8/XZ8HCls+6/2G7Ve0JWnnbAtChk68WtMu68=; b=sG0mTGyWq1kl4Jy+vji4qJhT8EjP2OKtD9ZRoLnNAYqH+Rl5GWWKWeIaFk9LjPALk+ sdD/SOvkM/BQ6LkFSNMw+jsXS7GOD+sJEdMBEHnIqsAtlTmdYm4CpUIbvH+J4TwmBIcQ eC3SEhfhfRghpjMCXALeYEyvunSIWZPjgt5GeIQ8TCJW6n5EUsnqUdQ5i+FFolHpIIKo kM/kGWSpcO5EdNG575gtQQ4walFZpUM1bisgq2qqPlFP9WQuojvTUKEeCtyt/Hps3weR /OpG0hc3E7NF2KYQAryS6cAmKV4/hvss0dJoYkxjB3dPifekEA79ysL3HzrKyHYn+0GM 5WYg== X-Gm-Message-State: ABuFfohuTfKapkRwQLfhlRQpKLplL+lPV8V058K4K8z6xvWeAAFop+kS cPQScWA5+wsewmwOjyZhjKMkcqI= X-Received: by 2002:a9d:2538:: with SMTP id k53mr15836318otb.156.1539789835775; Wed, 17 Oct 2018 08:23:55 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id g188-v6sm7368913oic.10.2018.10.17.08.23.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Oct 2018 08:23:55 -0700 (PDT) Date: Wed, 17 Oct 2018 10:23:54 -0500 From: Rob Herring To: "Gustavo A. R. Silva" Cc: Quentin Schulz , Mark Rutland , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: phy: Update SERDES_MAX to be SERDES_MAX + 1 Message-ID: <20181017152354.GA9268@bogus> References: <3a1a95a4832af33dcd1842b0298d257bbcf1f5ab.1539036280.git.gustavo@embeddedor.com> <20181009072723.mshyvplpo2xmkyfl@qschulz> <20181017150931.GA385@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181017150931.GA385@bogus> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 17, 2018 at 10:09:31AM -0500, Rob Herring wrote: > On Tue, Oct 16, 2018 at 10:44:52AM +0200, Gustavo A. R. Silva wrote: > > Hi, > > > > On 10/9/18 9:27 AM, Quentin Schulz wrote: > > > Hi Gustavo, > > > > > > On Tue, Oct 09, 2018 at 12:21:36AM +0200, Gustavo A. R. Silva wrote: > > >> SERDES_MAX is a valid value to index ctrl->phys in > > >> drivers/phy/mscc/phy-ocelot-serdes.c. But, currently, > > >> there is an out-of-bounds bug in the mentioned driver > > >> when reading from ctrl->phys, because the size of > > >> array ctrl->phys is SERDES_MAX. > > >> > > >> Partially fix this by updating SERDES_MAX to be SERDES6G_MAX + 1. > > >> > > >> Notice that this is the first part of the solution to > > >> the out-of-bounds bug mentioned above. Although this > > >> change is not dependent on any other one. > > >> > > > > > > Reviewed-by: Quentin Schulz > > > > > > > Friendly ping. Who can you take this? > > Applied. No need (nor benefit) to ping me. You can check the status of > DT patches on patchwork[1]. If it is there and in the "New" state, it is > in my queue. Actually, this doesn't apply to my tree as the file doesn't exist. It needs to go thru the phy tree. You didn't Cc the maintainer nor list, so resend. Acked-by: Rob Herring Rob