Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2993364Ab2KOLEP (ORCPT ); Thu, 15 Nov 2012 06:04:15 -0500 Received: from mail-ea0-f174.google.com ([209.85.215.174]:62976 "EHLO mail-ea0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2993226Ab2KOLEN (ORCPT ); Thu, 15 Nov 2012 06:04:13 -0500 MIME-Version: 1.0 In-Reply-To: <1352768407.19229.1.camel@phoenix> References: <1352768407.19229.1.camel@phoenix> Date: Thu, 15 Nov 2012 12:04:12 +0100 Message-ID: Subject: Re: [PATCH] pinctrl: imx: Fix the logic checking if not able to find pin reg map From: Linus Walleij To: Axel Lin Cc: Shawn Guo , Dong Aisheng , Devendra Naga , linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 550 Lines: 16 On Tue, Nov 13, 2012 at 2:00 AM, Axel Lin wrote: > Current code sets "pin_reg = &info->pin_regs[i];" in each loop iteration, > so in the case of no-match, pin_reg is not NULL. > > Signed-off-by: Axel Lin Thanks, applied with Dong's ACK. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/