Received: by 10.223.164.202 with SMTP id h10csp117636wrb; Thu, 30 Nov 2017 07:46:38 -0800 (PST) X-Google-Smtp-Source: AGs4zMbw9iPG5qfwg7usBakEOS04PcdsG8yXpy8wU0d7Pp7H515p3ywpcCmQu/Re9xc8bTxK5kBz X-Received: by 10.99.170.77 with SMTP id x13mr2804473pgo.117.1512056798378; Thu, 30 Nov 2017 07:46:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512056798; cv=none; d=google.com; s=arc-20160816; b=WfVKS880ip5Kt150a3geDjqFG9HUQXfcRSjfa+/uP+ItUMLBYG9FThOtQsCTb5UBQW TTQ8galOcz4rBCKy9wInUp0fhY7FLW4LUrAtSIDQ/ed0K3mL1bOtbiRMSsM8jRxgoCa3 PAlpfPlr2u20FHHwW8jM0hjVz6HseKs4diSOVwbCKvtxw0/IW4XNinJ35a8K/KhvF5ob VRKiPQozU0INrIGlc3F+cFGjbyGKopdaV0k0JQdJ7q3O8CqXz+3cJLHoIreRE3m9nTXb A0jqK3y4qQ2F+NxGpiNt0pGwpCwoGsBjhaO0a9sN2jEExm48HmUIN2ljwp+Bnz5Hv0rK H9lg== 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=XZ6jrS36kBhmcJLOaQMwzu0uB2WiwaM3ayEj3rA9hPI=; b=IQEiSTZF7D6ub1Wxuav0yz/9zLymMAj72Z2hZZBbekKeYvyZRHCxFQXn+IgF2PgxlP t/dUAoY/pwaGKv+pgiNdprkUTbBRY6iG4hvfArPch6PS84Y4StoeIVAmzIhQpZyf5ACy Pec1aIYUTcR+LWZL4iMG0pie0O2AMh4LRNR3OOWoX5e6+nrLimmxKsd0zYK99bCkNYKK Bqk7IRDYA5LC5aPidCCoPDonczxelp03nDz0mSyveIEeZGO5BEZUJsqA5pJI/eP2MRKM Xy36HHkvt5sVj9awxUMk/X82FaztgzVev0vTMz6RIWJWAN4+ub3KIm4NdPCW0XAOUSS0 mQKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XpAelojR; 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 g59si3305801plb.658.2017.11.30.07.46.24; Thu, 30 Nov 2017 07:46:38 -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=XpAelojR; 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 S1752390AbdK3Pny (ORCPT + 99 others); Thu, 30 Nov 2017 10:43:54 -0500 Received: from mail-pl0-f65.google.com ([209.85.160.65]:46608 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750885AbdK3Pnv (ORCPT ); Thu, 30 Nov 2017 10:43:51 -0500 Received: by mail-pl0-f65.google.com with SMTP id i6so4443892plt.13; Thu, 30 Nov 2017 07:43:50 -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=XZ6jrS36kBhmcJLOaQMwzu0uB2WiwaM3ayEj3rA9hPI=; b=XpAelojReFz6nHKykvUOhVZkJe29SuwZdj0YvTzpBS6Ho2HXkEDAAkDBIBxt+hLlHi mA/GnBpG9rO3ifoNAttwjkJTR8dy7npMlE1fqZzWUZJR8zGKBfr094iR5rPgfKlfjpqx 1iJD0ktUjMAp2e+4egZo5bN7KGwXWUqhtrcsenRg9nx2SwLJb/Rk6SxtJkJmG5dskNNW NdUsR6bStDzpNu6SUzUtDwCHPoEocvqQ0U6nbY5EcCFUyDyA1t3VIGiEODHWsYgws1aH /SvcaPnI/PJEAcKT4DyHT3ZOQSZM00VsyxDehjZbNn2oNdl5M0h2XyeMPhex5DpCIBaU 1Dkw== 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=XZ6jrS36kBhmcJLOaQMwzu0uB2WiwaM3ayEj3rA9hPI=; b=a40MPezyu1K2wlmKwGNq9KKGHUt4KPIMpMuZWFu7/pEKPe2BXOFhdA8u1h1DEi8qAu ZXl9Emc6NeUrCRsi2EfsePq1AO0sRkVwCeQgYQ4M1Ws+XjnludUyGg2HLeXysxp0c216 R+WgW99KEa/Um+5nes1WF2LHFOV3bPpYYIaEm8+TEgHwlXvD3pIDvjzCbjec1HIqXybm uv7wu0+JKbytZtn61BQr8/pdic3mWmHDuiEntuWYqh8t67ZfqEpaSZfpvNfs5VyNEYoN +R2SkM2qOmiTiER5CoAHcaAR92ZrzdR9tRY1mJJ2n77fiKf/FNVjoUkGW5AR+Ki9dnPl o8dg== X-Gm-Message-State: AJaThX4Z774FCALmdYMFLOp+a/I9HCF9CnhXFiLvhBgXxM8hFCimhqAm vMcoTi8LdWZSJE7QJ/laEtI= X-Received: by 10.84.251.130 with SMTP id w2mr3068757pll.24.1512056630697; Thu, 30 Nov 2017 07:43:50 -0800 (PST) Received: from localhost.localdomain ([103.16.68.147]) by smtp.gmail.com with ESMTPSA id f79sm8687440pfd.45.2017.11.30.07.43.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Nov 2017 07:43:49 -0800 (PST) From: Arvind Yadav To: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, samuel@sortiz.org Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, netdev@vger.kernel.org Subject: [PATCH 0/3] Handle return value of platform_get_irq Date: Thu, 30 Nov 2017 21:13:33 +0530 Message-Id: <1512056616-21065-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. Remove unnecessary 'err' initialization for irda driver. Arvind Yadav (3): [PATCH 1/3] iio: trigger: Fix platform_get_irq's error checking [PATCH 2/3] staging: irda: Handle return value of platform_get_irq [PATCH 3/3] staging: irda: Remove unnecessary 'err' initialization. drivers/staging/iio/trigger/iio-trig-bfin-timer.c | 4 ++-- drivers/staging/irda/drivers/pxaficp_ir.c | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) -- 2.7.4 From 1598696128291541118@xxx Wed Apr 25 05:50:37 +0000 2018 X-GM-THRID: 1584716639994351634 X-Gmail-Labels: Inbox,Category Forums,Downloaded_2018-04