Message ID | 20190722172632.4402-1-wsa+renesas@sang-engineering.com (mailing list archive) |
---|---|
Headers |
Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from <linux-media-owner@vger.kernel.org>) id 1hpc61-0006m8-Fv; Mon, 22 Jul 2019 17:27:33 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731503AbfGVR0f (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Mon, 22 Jul 2019 13:26:35 -0400 Received: from sauhun.de ([88.99.104.3]:42368 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731335AbfGVR0e (ORCPT <rfc822;linux-media@vger.kernel.org>); Mon, 22 Jul 2019 13:26:34 -0400 Received: from localhost (p54B33E22.dip0.t-ipconnect.de [84.179.62.34]) by pokefinder.org (Postfix) with ESMTPSA id DB15E4A149C; Mon, 22 Jul 2019 19:26:32 +0200 (CEST) From: Wolfram Sang <wsa+renesas@sang-engineering.com> To: linux-i2c@vger.kernel.org Cc: Wolfram Sang <wsa@the-dreams.de>, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: [PATCH 0/2] media: ir-kbd-i2c: fix potential OOPS & minor cleanup Date: Mon, 22 Jul 2019 19:26:30 +0200 Message-Id: <20190722172632.4402-1-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org |
Series |
media: ir-kbd-i2c: fix potential OOPS & minor cleanup
|
|
Message
Wolfram Sang
July 22, 2019, 5:26 p.m. UTC
From: Wolfram Sang <wsa@the-dreams.de>
This series is part of a tree-wide movement to replace the I2C API call
'i2c_new_dummy' which returns NULL with its new counterpart returning an
ERRPTR.
It was manually converted and only build tested (by me and buildbot). A
small cleanup was added while working on this driver. Looking for
someone to ack/rev/test this series.
The series is based on v5.3-rc1. A branch (with some more stuff included) can
be found here:
git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/i2c/new_dummy
Thanks!
Wolfram Sang (2):
media: ir-kbd-i2c: prevent potential NULL pointer access
media: ir-kbd-i2c: remove outdated comments
drivers/media/i2c/ir-kbd-i2c.c | 17 +++++------------
1 file changed, 5 insertions(+), 12 deletions(-)