From patchwork Mon Jul 22 17:26:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 57641 Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from ) 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 + 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 ); 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 To: linux-i2c@vger.kernel.org Cc: Wolfram Sang , 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 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Wolfram Sang 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(-)