Received: by 10.223.164.202 with SMTP id h10csp2290866wrb; Sat, 18 Nov 2017 18:15:49 -0800 (PST) X-Google-Smtp-Source: AGs4zMaqow9jz5PTHVTfdNM3n/6wa58bLlHC5qeKB+Dndlz26wnrgEJ3iE54ltKsiUPzr48JJ2gD X-Received: by 10.159.231.23 with SMTP id w23mr9887663plq.436.1511057748940; Sat, 18 Nov 2017 18:15:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511057748; cv=none; d=google.com; s=arc-20160816; b=QY7k8E3gLMUTdqD8DTkxlbknlVxsG0dGRrdJeDUT2CUOrWHcFjcvqqmf7f/SumYuwT 5ok3AcBwxMNLDBaPX80Cn2KXYeDNZhZKGNFpivcc9PtmxwIAHwCLKivKHjj/ZHtKiWBf /6haJG4aun0JEEXokUPh5OS1pvBa3KnXkCOudnTQOFMpvXE1k0VAxkveKI0yK9+VVRJZ XcDhq5AIV8+vxKR2bzr92rJiQQTLAbUjM1bBt224FuwckWf1/foZIBboCYNxnGuMR6I3 gyglj/UNahE+ki0YWPRmqWzhQv3Xnpu6G/B16fgtH3U5CTyR0hA148uTLqIIVJRAKfIs WJXQ== 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=pGIxdph2S6SRfcLg5YQsgvBYahJruEJ18EYQKuE0/Mg=; b=iicyQwJEaK9kta0Kcf0akBeAWvWuq3zjHkJFlA7mRlyZlzOpBbBxwLL7u/4ew0zjIr GyTe+H414mmVqHP4t2Osu+NhTCC6D80OUqYnTzQI8i7/N7/m3RDOMID93kEaK3c+w4hp 4jtHSrD4A9nYIvJLUHPuv+xaiswqhPXr+kV0Q6kSTZbHGzSe6fFecwnIiAOxgB3B+fsN SeyqeZzTwWAqfmC8x0MYgOtstolEPDJWG3cF0/s27tZXTtVFRHQObOgi0il02yt7xbXv QCf9eE+G+ZI1qTDe0fWszNwAgf4J09d27cU2RC4cLC1deybfHvo9TjHph6Y3DPv7SgPt 06+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Y0yRubfH; 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 h128si5910405pfb.121.2017.11.18.18.15.34; Sat, 18 Nov 2017 18:15:48 -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=Y0yRubfH; 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 S1162782AbdKRGg4 (ORCPT + 93 others); Sat, 18 Nov 2017 01:36:56 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:39500 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162766AbdKRGgs (ORCPT ); Sat, 18 Nov 2017 01:36:48 -0500 Received: by mail-pf0-f195.google.com with SMTP id l24so3540776pfj.6 for ; Fri, 17 Nov 2017 22:36:47 -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=pGIxdph2S6SRfcLg5YQsgvBYahJruEJ18EYQKuE0/Mg=; b=Y0yRubfHNzdFmyV41x9qRmnqsTQH0xRmiixkb94NUzr0GmYbVnz8vPCXqm7FtaKg49 YXTl22BfSqKukg135VLOUgZ3rE6LU0j+9kl3P2Jm7+GT3cMNQJyIuOJdR2lbOeHLmYwm Pc4rl+1vGA0cbHDHFQBDvtHI8CfwYg0NEFhElfCBdzioKJcV+NssmAtJakvo9zMPzCCh ASaVKiM5lMv4kZj2Bvp83Qd0j8AQbtzqjY59eqLYdFox+Y9PX7BQ63TMot4ofc2ABVTw LIUJzTZiISZ+zB3LEuJwoOb6z3mhvweg8fCmTtw7bvEYtErku5i/pWCpMibKWB3sFXNu jMOA== 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=pGIxdph2S6SRfcLg5YQsgvBYahJruEJ18EYQKuE0/Mg=; b=lU/YaznwR3H7JW7Vt4fXh+1eB6yIgUiRFpN+zm5XvVtwsd7hqd6MwshhBUjE9hHqOs 66i8Bv9Yq2/CFOXX3sR7g6tpGR2XCMz3kVCd1L1VgS6eRUw6V3dk9rYwT+0NXyiy2bS1 pGoqoNfoJUBkYUwP4j6y+M5SBapBgr4RUfPIM8WRHkhg2h0mxtDb82BDgLmgpIIPHAzq 2Y1TrRaBCVQtHfENPhtZxuktMDMepmeSV1/BCknmVCH0whxB0cNGWQwre8orkR9y5jDC muGk+XCqaia1TmmN+NKggYZ69QCm8hJX1z7ZVEV+/CBH7otkXlGxzawLcOgtcpbJkEuV iPZg== X-Gm-Message-State: AJaThX46XDhXEF2FcS/q+fC57KummjN4HO1VaArpntjU4PSEaUE9pjzb ey8Jq5GLM8/dsXhpxR7C6sbFvcoa X-Received: by 10.84.215.207 with SMTP id g15mr7449600plj.369.1510987007610; Fri, 17 Nov 2017 22:36:47 -0800 (PST) Received: from localhost.localdomain ([103.16.68.147]) by smtp.gmail.com with ESMTPSA id d68sm9905504pfl.38.2017.11.17.22.36.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Nov 2017 22:36:46 -0800 (PST) From: Arvind Yadav To: lee.jones@linaro.org, maxime.ripard@free-electrons.com, wens@csie.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/3] mfd: Handle platform_get_irq's error checking and return Date: Sat, 18 Nov 2017 12:06:30 +0530 Message-Id: <1510986993-4936-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 (3): [PATCH 1/3] mfd: ipaq-micro: Fix platform_get_irq's error checking [PATCH 2/3] mfd: intel-lpss: Handle return value of platform_get_* [PATCH 3/3] mfd: sun4i-gpadc: Handle return value of platform_get_irq drivers/mfd/intel-lpss-acpi.c | 2 ++ drivers/mfd/ipaq-micro.c | 4 ++-- drivers/mfd/sun4i-gpadc.c | 7 +++++-- 3 files changed, 9 insertions(+), 4 deletions(-) -- 2.7.4 From 1584465649781146117@xxx Sun Nov 19 04:03:15 +0000 2017 X-GM-THRID: 1582152538070897916 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread