Received: by 10.223.164.202 with SMTP id h10csp1211001wrb; Fri, 17 Nov 2017 16:17:45 -0800 (PST) X-Google-Smtp-Source: AGs4zMbDRKGj9zWKf4kTAFulFFLikt/pjO7yFh44N2reAbF5YSF0i2apU7h3cRbXlunRUMjvl4M2 X-Received: by 10.159.204.147 with SMTP id t19mr6927186plo.222.1510964265413; Fri, 17 Nov 2017 16:17:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510964265; cv=none; d=google.com; s=arc-20160816; b=urPYLz6TuymIncbSHM0pieLxbp+b2aLjQSjLRftLhqmnaOyigNQxStHOU4zIdk8mdo HOBoALtL1l0zrky2bSXWEFH08X/I6SXmnXLG8f17l+uf+zBaGGd4bm0wLu9p/IcvUDM6 GgWLKDbDMbfvriwwdai8R/XnrUx6LR49NLANNWyKMn/la1yOh8Vzeh3AwPQWk+BdNdET VRtY5It2Ls/3szH+Ty3N8wx6am5MSNgUzniUL+feHxKeYbEgBKxV64TiW6tndXG66lTm M3BK+weNwWjbs/KkLlQ2PgEU5SXttZnnSPYf096HlP+iDhkxwu45D0xmpGNo5gTNs7sM q8jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=SA2ISfGk51JhCBpmTm025FQJB6JK/G4t8tVtH9xcBWw=; b=fBfvk63hCE05KXiAlzPTlCDnOHnPOF4L0C4y14pW/zlCnYLeCV37D0tZnqrqvckQxS 9TsO3f36EuzDNLWyLN4emIp3FNhb35QjQnWyvt2C6BgR2SbILUJHY9Vqa7XXSuwFyygD ns+s9NxyykJTL0UKXuin4sOau8L1KC1ZcStNyH/1GO70/uRTlMyqYqE8Se+/ELduWr9N RhlvV2AqTXonFA4ce5bSRd4xOpNHJAcpaE3s7xOyvJhfLgvF0nZwrn2gB6dgembZWjUB guL8K4eUKQiO6N1bEJMOBKcoOqPuzcyJB91bketdNwgzibIac2/TuBkUiJv37h5SruBM DepQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=o30hkCv0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s7si3495316pgq.419.2017.11.17.16.17.32; Fri, 17 Nov 2017 16:17:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=o30hkCv0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935540AbdKQTQG (ORCPT + 93 others); Fri, 17 Nov 2017 14:16:06 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:43426 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935515AbdKQTP4 (ORCPT ); Fri, 17 Nov 2017 14:15:56 -0500 Received: by mail-pg0-f65.google.com with SMTP id r12so2604178pgu.10; Fri, 17 Nov 2017 11:15:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=SA2ISfGk51JhCBpmTm025FQJB6JK/G4t8tVtH9xcBWw=; b=o30hkCv08OYlxoaWI9ZISvrSF6YxOg6LmZf9PpHpDasM2nNXfHfkkGP3ZsndrUeXGA Rxcg7wJEwpsc72gOGGmYmsvTkpb/a2oi7kKcuCVuo+bH6gRsW+vaEARl0XJT8hzL2h9K f/x73JHnvxUoJ6MdoFbpqPSxI1upcKQ3OlaB/19qDDIGTPpEykjyupkIwMss1PItRZ+h x+qIuFrDCHwdxjA3pZqVfwsVCRez+OzuVLExxBqM/zYvfJdhBkGo3xx87a75CKunpmBs /2aiKdLf6MVT0SWrus/8Q/HgeWL/Xdw3AR9dPHf8bFSz3L1EwE7wJh+xJH4ZywOlFoGv etqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=SA2ISfGk51JhCBpmTm025FQJB6JK/G4t8tVtH9xcBWw=; b=pPlj8utvI992hrsY+GLmSpGJ5cXHL73JxfE0Lr0mG+ZW5WFPRjWtAWOpOgaryKXsN/ t7fIfeyiRpj+AZpJM6gO2ZZKVVsufxBk6FZXLulWc9ogG5YLCZW7jcf8uK9fQ375B+DF PfkWdS/Ejs6Sr6MEZPZYoE4Wt/gWko/LaKa9fRAQo0DeZpfKwGq6xSZ4QI+5im/ipL/A pa+Y+z0Hl8WwRJOHfyiCl6QP3COUPx/dbBDlVbieZwxKz+H5KqSFhSRT4LoFqm7Hu6sV 6mElWCbZGiZXSAKabRoHSjZYydVWjYdm0HSuJ6wHH+dyo+d7Pa6tLuMdCbTYnW4RntPa s9Fw== X-Gm-Message-State: AJaThX7dqsRa5EYMBgnCCpV+NYdcu/rPL8vnvQVbxRqgjjUa7mNSdmE9 mTKoS8WWjCH6jyZecyPjZ5Y= X-Received: by 10.84.168.129 with SMTP id f1mr6166467plb.71.1510946155672; Fri, 17 Nov 2017 11:15:55 -0800 (PST) Received: from localhost.localdomain ([103.16.68.147]) by smtp.gmail.com with ESMTPSA id u188sm7807441pfb.188.2017.11.17.11.15.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Nov 2017 11:15:54 -0800 (PST) From: Arvind Yadav To: dmitry.torokhov@gmail.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@roeck-us.net, wsa@the-dreams.de, daniel.thompson@linaro.org, mcuos.com@gmail.com Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 00/10] Handle platform_get_irq's error checking and returns Date: Sat, 18 Nov 2017 00:45:22 +0530 Message-Id: <1510946132-13554-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The platform_get_irq() function returns negative if an error occurs. zero or positive number on success. platform_get_irq() error checking for zero is not correct and we must check its return value. Arvind Yadav (10): [PATCH 01/10] Input: ep93xx_keypad: Fix platform_get_irq's error checking [PATCH 02/10] Input: omap4-keypad: Fix platform_get_irq's error checking [PATCH 03/10] Input: twl4030_keypad: Fix platform_get_irq's error checking [PATCH 04/10] Input: serio: Fix platform_get_irq's error checking [PATCH 05/10] Input: cpcap-pwrbutton: Handle return value of platform_get_irq [PATCH 06/10] Input: w90p910_ts: Handle return value of platform_get_irq [PATCH 07/10] Input: sun4i-ts: Handle return value of platform_get_irq [PATCH 08/10] Input: twl4030-pwrbutton: Handle return value of platform_get_irq [PATCH 09/10] Input: sirfsoc-onkey: Handle return value of platform_get_irq [PATCH 10/10] Input: palmas-pwrbutton: Handle return value of platform_get_irq drivers/input/keyboard/ep93xx_keypad.c | 2 +- drivers/input/keyboard/omap4-keypad.c | 2 +- drivers/input/keyboard/twl4030_keypad.c | 2 +- drivers/input/misc/cpcap-pwrbutton.c | 3 +++ drivers/input/misc/palmas-pwrbutton.c | 5 +++++ drivers/input/misc/sirfsoc-onkey.c | 3 +++ drivers/input/misc/twl4030-pwrbutton.c | 3 +++ drivers/input/serio/sun4i-ps2.c | 2 +- drivers/input/touchscreen/sun4i-ts.c | 3 +++ drivers/input/touchscreen/w90p910_ts.c | 4 ++++ 10 files changed, 25 insertions(+), 4 deletions(-) -- 2.7.4 From 1586674965838387786@xxx Wed Dec 13 13:19:23 +0000 2017 X-GM-THRID: 1586484335826433230 X-Gmail-Labels: Inbox,Category Forums