Received: by 10.223.164.202 with SMTP id h10csp1571083wrb; Sat, 18 Nov 2017 01:36:51 -0800 (PST) X-Google-Smtp-Source: AGs4zMYNQVWpN+kyQtqvOJheSVM0Vggm3+e1i7AZlzvbR6hq5fonAeStQIsmE3/K9KJCk5sZxOjU X-Received: by 10.98.63.221 with SMTP id z90mr4947357pfj.101.1510997811503; Sat, 18 Nov 2017 01:36:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510997811; cv=none; d=google.com; s=arc-20160816; b=gxrtv7+uAOZvy7Wea6NBZtdslko850RZTob13NW8PzoizObS/fA9HTP5RmdibKg2bD p7h49fQf+zCKmHEilMF78rqeU+ADdtX5vzdF1EFo/dD/VIHuU3XtWRcLIWhpZJSrDYK1 1hmytA8yBnvTOxkaEnDidqep87gzOHHdgMnGCj8k6AwOTl81bgOYRvzZo8xl3kvJUV7K OhW1JvXVUNuwoAO58i4HRj7XdXr5tEXqtPx28giuulBWjVi7dqHEVofRx1i5Ce+U0Gp6 MGkAPEiqn2nH9lQz49volU/VlqenTYRd2tj5xx4ugg9qtVpUrGNa8FnHv4BVd5C2YMGu Dn+w== 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=UPQSuhczc0Lb/+B5r+5iYpKuLk0/iPTiiAF5HbAYJ4g=; b=QHBYUFWX0FFpmNtHIiKf1oYSUaaLi+OrPRydcBS2WQ6uf2MLm9hcCFnGcrOb5uwUc2 m9XYw2lWAsb7rujk4+QKc7yWGD2/NyBNAzXH+CkObrREibbQEwD8GSxuJQa9bNyjCFjD qmTfPIgZf39U/Au6tL0m6O5jikAXadiDH+FryTf6zWzZlShdBwK1aDtTzzC3yDnithDf faiI09uJPPpdPypvFtP5qCFcusQMVfPgLCHCjvKihenFKinDvCpPrRQ/nUuRzYuDZKIq rMHKYo8o565UgQvVyoQ8u4LzG5mn4rpVbZgNcmCWlPr3UJGUUELlTsxTgzi0yNzUEPVb BH/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=T3wfpG7m; 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 f5si4254220pgn.126.2017.11.18.01.36.38; Sat, 18 Nov 2017 01:36:51 -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=T3wfpG7m; 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 S1761055AbdKQU26 (ORCPT + 93 others); Fri, 17 Nov 2017 15:28:58 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:37958 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760158AbdKQU2e (ORCPT ); Fri, 17 Nov 2017 15:28:34 -0500 Received: by mail-pf0-f194.google.com with SMTP id r62so2722519pfd.5; Fri, 17 Nov 2017 12:28:33 -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=UPQSuhczc0Lb/+B5r+5iYpKuLk0/iPTiiAF5HbAYJ4g=; b=T3wfpG7mLxXaIbXWPLccCh8hjzcn3EsHm7EduhqawlOi51aXDM2iXSG7k1ttRh/z3H 0PSN0fyNyQmYwlmQRk1p1R64chKZpyqWZMRz8gApwXXZGACKxeVOW3BvpQPKzIuR/R/B YkOlf8znvflNPstRYYKjLOYOMeE4p2FZvWjq5d7izPxmRqPOpuDxCrdFylXEaQmV4Xs7 s6m3AOms47rAJPADzowJZz+fDE9WLlARPN4LdqU6eSJqq5+r125sBVy8sSQMLGjEZ89J Zh8N6Q2uerBdIdbsIK5WgwpdPWRS1HgL/B8YvOQivZE0IdApReXRS7o/OFTH2RPwceTQ FPKg== 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=UPQSuhczc0Lb/+B5r+5iYpKuLk0/iPTiiAF5HbAYJ4g=; b=WcOfyx3f+waL2UqK40nFI81PCvLZIzDqM9VtsklTBW9O7vyIEo7iw9ae+HMT31cFmw UNY7Z9XJQfyqOlkqXybeefBIJsQfYjQyrEkuzCNyrgqvFYA+mCYcQwC/BVwQZJ9+unxr r/LiTzrKVCVbP87MU/yzUsJ+JNY6SIEp+6lOZgb8TQavXCCCjvR3C1d862Z50G9TvtNt Cl4as2O7RsPA9CdmkivJTpM9LePHQxPeFRZWHIEg100R/aP8UrXWtHpvhB2IIey/VTFJ 04hFDat9evLP+WHom00n63JNB0dEdvo4xkCw/loXvJ8lgcWVDJJASPisRow2OYHwlSu0 vhww== X-Gm-Message-State: AJaThX6ZBkg5wMsGqKf0UN56OYKBYl/PN4maIMNSG+XpG+jw2l+njqCk tiXIFFzAJ5vr/uIh551Q3XM= X-Received: by 10.101.71.205 with SMTP id f13mr6277917pgs.112.1510950513053; Fri, 17 Nov 2017 12:28:33 -0800 (PST) Received: from localhost.localdomain ([103.16.68.147]) by smtp.gmail.com with ESMTPSA id n72sm9382740pfg.109.2017.11.17.12.28.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Nov 2017 12:28:32 -0800 (PST) From: Arvind Yadav To: ulf.hansson@linaro.org, carlo@caione.org, khilman@baylibre.com, ben-linux@fluff.org, adrian.hunter@intel.com, vireshk@kernel.org, maxime.ripard@free-electrons.com, wens@csie.org Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org Subject: [PATCH 0/6] mmc: Handle platform_get_irq's error checking and return Date: Sat, 18 Nov 2017 01:58:16 +0530 Message-Id: <1510950502-22565-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 and we must check its return value. Arvind Yadav (6): [PATCH 1/6] mmc: meson-gx-mmc: Fix platform_get_irq's error checking [PATCH 2/6] mmc: s3cmci: Fix platform_get_irq's error checking [PATCH 3/6] mmc: sdhci-acpi: Handle return value of platform_get_irq [PATCH 4/6] mmc: sdhci-spear: Handle return value of platform_get_irq [PATCH 5/6] mmc: sh_mmcif: Handle return value of platform_get_irq [PATCH 6/6] mmc: sunxi-mmc: Handle return value of platform_get_irq drivers/mmc/host/meson-gx-mmc.c | 4 ++-- drivers/mmc/host/s3cmci.c | 4 ++-- drivers/mmc/host/sdhci-acpi.c | 4 ++++ drivers/mmc/host/sdhci-spear.c | 4 ++++ drivers/mmc/host/sh_mmcif.c | 2 +- drivers/mmc/host/sunxi-mmc.c | 5 +++++ 6 files changed, 18 insertions(+), 5 deletions(-) -- 2.7.4 From 1584463603826126487@xxx Sun Nov 19 03:30:44 +0000 2017 X-GM-THRID: 1580974306711346344 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread