From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.bootlin.com ([62.4.15.54]:50939 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751075AbeGDOSN (ORCPT ); Wed, 4 Jul 2018 10:18:13 -0400 Date: Wed, 4 Jul 2018 16:18:01 +0200 From: Miquel Raynal To: Boris Brezillon Cc: Richard Weinberger , linux-mtd@lists.infradead.org, David Woodhouse , Brian Norris , Marek Vasut , stable@vger.kernel.org Subject: Re: [PATCH] mtd: rawnand: hynix: Use ->exec_op() in hynix_nand_reg_write_op() Message-ID: <20180704161801.4db69955@xps13> In-Reply-To: <20180704140858.28424-1-boris.brezillon@bootlin.com> References: <20180704140858.28424-1-boris.brezillon@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: stable-owner@vger.kernel.org List-ID: Hi Boris, Boris Brezillon wrote on Wed, 4 Jul 2018 16:08:58 +0200: > Modern NAND controller drivers implement ->exec_op() instead of > ->cmdfunc(), make sure we don't end up with a NULL pointer dereference > when hynix_nand_reg_write_op() is called. > > Fixes: 8878b126df76 ("mtd: nand: add ->exec_op() implementation") > Cc: > Signed-off-by: Boris Brezillon > --- Acked-by: Miquel Raynal Thanks, Miquèl