Received: by 10.223.164.202 with SMTP id h10csp2282360wrb; Sat, 18 Nov 2017 18:02:44 -0800 (PST) X-Google-Smtp-Source: AGs4zMb0H/lgzUfqEZ2oI4carmLwkg+eHZThRAhVkfbXuU4KN19CCkXJnz97chyPMW/oRu/8Y2mq X-Received: by 10.99.173.8 with SMTP id g8mr9079874pgf.87.1511056964725; Sat, 18 Nov 2017 18:02:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511056964; cv=none; d=google.com; s=arc-20160816; b=Rm2YiU/LYdN/4UsfZ47p4A9xAfX5SfiTui081KvSci8IZkIwh34OwzHGjATSN/K6gF ipbA9UwTxlakmcHLLpQ5mub4RHjQRtc3JQ6oDYl6Do+n14B1U5AMAvIafzlTTjPyuEMM hUdBjEu8EfrmfKWck7b1tN+4jgeV2ecllTvGBQ/fX2lpnMwQ5/mqHsq7BwxAzc2OB6I8 vw88LccXZ8N1wDVXmFODZKYaMPNFvAmRQtVtvb15Hmp/drsWKlzoNZNikOZatWQo7S4a behpDlBIAHtxeNsdBW2HNdqIKVW+sDJLLQznCxxT5qq61tHH3XnZR7BVlkK7quph9dEC QLgQ== 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=kkNHyW9ptsmpG1SBZAg7kOY06m66HGDfuqRPiCR++WY=; b=WKVXAgyMYFSVF0dIT7lWG1hlOPqLmYk0UmQdz7HMnEOT4WOVxLRpfEt9f0CRMIW2Bx fKbAAinPJReAueTmMiCThQFedAcvadDFOvAPhwNAzGzjKhObhJAhbhdlTMqkaH438pDD FMMondB0YZfOhtnSg0Dn1xleHPe4paufmUTiu8iLOPk90yV9VI3E6pOg5JQKM5XfvHIF FucUxg6A9XZm3Ga2k5m/rSblSHjqe8lO03YYIic/YF1EqkmvNkAAkq7t/qefZapux3UE ein29tUISaivvwFIC2Z8vJMfWv6dssSK7eK41Fz58mXHAYJBAJamhSXD8AnxcIk2zXSH 4oVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kyTQ85Xm; 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 g127si5214506pgc.74.2017.11.18.18.02.31; Sat, 18 Nov 2017 18:02:44 -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=kyTQ85Xm; 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 S1764104AbdKRFom (ORCPT + 93 others); Sat, 18 Nov 2017 00:44:42 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:39942 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763089AbdKRFoh (ORCPT ); Sat, 18 Nov 2017 00:44:37 -0500 Received: by mail-pg0-f68.google.com with SMTP id u3so3497212pgn.7 for ; Fri, 17 Nov 2017 21:44:37 -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=kkNHyW9ptsmpG1SBZAg7kOY06m66HGDfuqRPiCR++WY=; b=kyTQ85XmRS5R0EPA71ErRQLUaj5ejRrFLpKAHOdXWUyPYIwXkC3BGILIR2yGDSnBgJ NFEz8Ix+4A7P8JRbgh6qGTLqlShn2qQrLYz1Zs+JM1+GJlzT7AEbe85aDdLNc42arXer PLw1u2HbB4aGvHEC7x98hMrDC6kPJcffOECx5nQkNQotZJIDXDwq4+Van3goO99XmWan gIPlYQLyl1RKrxzhvgBI7KIFF4AC/9H25y5nJ/Kb80yWgsnvM0i5ETA+mRsPeJHuuT7A CFumUx67wRQTiydLHmpxRGdRMLYP0oaDR4UNirXYb8v1qK/Dm2FBQvAotXbZsJvG4ie7 pnqg== 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=kkNHyW9ptsmpG1SBZAg7kOY06m66HGDfuqRPiCR++WY=; b=s1t9jYluj+GHyiT5CE8V1tmfZ0il4OjnHK5SVeu3T6UggtLbYIsZ593yjblYKyFOM8 5be8+2PfcSKxpGO+L/Gu9BoU8olTNBvVJQ76nlovt40vx0hU+nnsIb6HkbN4QSBLVTVH 4E/g6fichPBZ+4JGnWpJH7gbSWJJIFDAZ04OM64iRvXQ+XgXY7vBNo3fDUm3jkYAW0PZ u7oCQdWeictbICS+CniYqYLYZAbTgdYhYKButLj/u9/GQfoNn3TSN3DnUTQzGYA4+l4E nHSoTxmaXk8qUJji1l7PCDqK03uom/JLY1JkHGzeRzcxWUWaVYS3Vy5F+Dy3hCD21geY pSgA== X-Gm-Message-State: AJaThX4iIA1mvUK9z3Ic3VOZ7/494p+9wVIRJFjCxyMF2xgciAQWHnsj gvzZAT8Bmef/DU3/LgdZywk= X-Received: by 10.98.4.67 with SMTP id 64mr4410922pfe.214.1510983876935; Fri, 17 Nov 2017 21:44:36 -0800 (PST) Received: from localhost.localdomain ([103.16.68.147]) by smtp.gmail.com with ESMTPSA id h1sm8923492pgf.37.2017.11.17.21.44.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Nov 2017 21:44:36 -0800 (PST) From: Arvind Yadav To: arnd@arndb.de, gregkh@linuxfoundation.org, joel@jms.id.au, nicolas.ferre@microchip.com, alexandre.belloni@free-electrons.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 0/2] misc: Fix platform_get_irq's error checking Date: Sat, 18 Nov 2017 11:14:25 +0530 Message-Id: <1510983867-2344-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. Arvind Yadav (2): [PATCH 1/2] misc: aspeed-lpc-snoop: Fix platform_get_irq's error checking [PATCH 2/2] misc: atmel-ssc: Fix platform_get_irq's error checking drivers/misc/aspeed-lpc-snoop.c | 4 ++-- drivers/misc/atmel-ssc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) -- 2.7.4 From 1587133273896673719@xxx Mon Dec 18 14:44:00 +0000 2017 X-GM-THRID: 1584368805738064800 X-Gmail-Labels: Inbox,Category Forums