Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758611Ab3DYNGJ (ORCPT ); Thu, 25 Apr 2013 09:06:09 -0400 Received: from mail-ob0-f181.google.com ([209.85.214.181]:64565 "EHLO mail-ob0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758518Ab3DYNGH (ORCPT ); Thu, 25 Apr 2013 09:06:07 -0400 MIME-Version: 1.0 In-Reply-To: <20130424150406.GD9652@gmail.com> References: <1366729394-11406-1-git-send-email-lee.jones@linaro.org> <1366729394-11406-5-git-send-email-lee.jones@linaro.org> <20130424150406.GD9652@gmail.com> Date: Thu, 25 Apr 2013 15:06:06 +0200 Message-ID: Subject: Re: [PATCH 04/10 v2] usb: musb: ux500: harden checks for platform data From: Linus Walleij To: Lee Jones Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Arnd Bergmann , Linus WALLEIJ , Mian Yousaf KAUKAB , Felipe Balbi , "linux-usb@vger.kernel.org" , Fabio Baltieri , Praveena Nadahally 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: 774 Lines: 20 On Wed, Apr 24, 2013 at 5:04 PM, Lee Jones wrote: > In its current state, the ux500-musb driver uses platform data pointers > blindly with no prior checking. If no platform data pointer is passed > this will Oops the kernel. In this patch we ensure platform data and > board data are present prior to using them. > > Cc: Felipe Balbi > Cc: linux-usb@vger.kernel.org > Signed-off-by: Lee Jones Acked-by: Linus Walleij 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/