From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vivien Didelot Subject: Re: [PATCH net-next 01/17] net: dsa: slave: chip data is optional, don't dereference NULL Date: Fri, 03 Jun 2016 14:09:07 -0400 Message-ID: <8737ou87r0.fsf@ketchup.mtl.sfl> References: <1464972256-10408-1-git-send-email-andrew@lunn.ch> <1464972256-10408-2-git-send-email-andrew@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain Cc: netdev , Andrew Lunn To: Andrew Lunn , David Miller , Florian Fainelli Return-path: Received: from mail.savoirfairelinux.com ([208.88.110.44]:48820 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751963AbcFCSJL (ORCPT ); Fri, 3 Jun 2016 14:09:11 -0400 In-Reply-To: <1464972256-10408-2-git-send-email-andrew@lunn.ch> Sender: netdev-owner@vger.kernel.org List-ID: Andrew Lunn writes: > The new binding does not make use of dsa_chip_data, a.k.a cd. When > retrieving the size of the EEPROM attached to a switch, don't assume > there is a cd attached to the switch structure. > > Signed-off-by: Andrew Lunn Reviewed-by: Vivien Didelot