Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753937AbaGPVND (ORCPT ); Wed, 16 Jul 2014 17:13:03 -0400 Received: from mail-we0-f171.google.com ([74.125.82.171]:34036 "EHLO mail-we0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753227AbaGPVMx (ORCPT ); Wed, 16 Jul 2014 17:12:53 -0400 From: Rickard Strandqvist To: Wolfram Sang , Grant Likely Cc: Rickard Strandqvist , Rob Herring , Jingoo Han , Leilei Shang , Peter Korsgaard , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v4] i2c: busses: i2c-pxa.c: Fix for possible null pointer dereference Date: Wed, 16 Jul 2014 23:14:10 +0200 Message-Id: <1405545251-13087-1-git-send-email-rickard_strandqvist@spectrumdigital.se> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This start as a fix for possible null pointer dereference. But after discussion with especially Wolfram, Jingoo and Emil it was decided to convert the code to uses Managed Device Resource instead. Rickard Strandqvist (1): i2c: busses: i2c-pxa.c: Fix for possible null pointer dereference drivers/i2c/busses/i2c-pxa.c | 65 ++++++++++++++---------------------------- 1 file changed, 22 insertions(+), 43 deletions(-) -- 1.7.10.4 -- 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/