From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D029C433ED for ; Sat, 10 Apr 2021 20:13:48 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2F20E610A6 for ; Sat, 10 Apr 2021 20:13:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F20E610A6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=omprussia.ru Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:CC:To:Subject:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=XwrVtsDSqsRHO0ELkmpeaX15se1JQVj9Gq6DrjYUo5s=; b=Lcs+zMfK7mcTEWcsuXsqg99yMh XS34VtuaZk9F4tZdRNv2xiM+imaMk42f4lrh6g4fYSYyzJPC+ElXPTXMR36aih6nslJifkXQ3t7p6 nBWQiornCpipkOyWg7RUS4roin0o/5yZiI4ZTM7e3Z5AjpW11CzW5M4xvnEGRsY4u5L6oCwErRskB 19VtgybI9ZIqsPz/jvNGUDOAALdW5U9eoUGouSC8f6XMPhz83tdI4QwhbvsKNYKlVU5Tnvu5tg/N8 4xoIfw01UNLqPmzaft/WOitGw7A8mj5gX9CNPZXOwcdcYAMiwsL8tDY8IchNvbcqKj2qMpsj7/cVv nS2dqfqQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lVJxs-003Ncz-4V; Sat, 10 Apr 2021 20:12:20 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lVJxp-003Ncu-0c for linux-arm-kernel@desiato.infradead.org; Sat, 10 Apr 2021 20:12:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:CC:To:Subject:From:Sender:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=byB5WwHW32mVaJTb6XhKwpK/WPAGrPmSZOzb7+ort1A=; b=wMukSibxDZwuElV2XKQWRjnCf/ o7YY9o6DqHD2WrHCVGAKYIr930O8Nur5xNqZq3ARkGRMV0v+IAwiEoFlCu54sG2bmnXd58bDmKUrl JNVIj0YwW7S/mm9D9hmpO/BWJd/kB+R7QQNCffFqVbKdwclefxGNNaoYF2o4tfMW4DungXTcS/tvH DKlwOEqJZJqBokjBeF+pPnWTH25bolDjJRaBDdlJt+M6ynOd1iRFvQTcNr35lVHwhsJQS7BKe6oSF mfqTHlLBr8LX3/U8+QVYjerJy6ofkfOxd7rwxuHHO0Fi0BayPjIN1JEPO4WG+wrDfwi+UjOCXswY+ EJMNNLdw==; Received: from mxout03.lancloud.ru ([45.84.86.113]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lVJxj-005FG8-5c for linux-arm-kernel@lists.infradead.org; Sat, 10 Apr 2021 20:12:14 +0000 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout03.lancloud.ru DC87820751F9 Received: from LanCloud Received: from LanCloud Received: from LanCloud From: Sergey Shtylyov Subject: [PATCH v2 0/6] Stop calling devm_request_irq() with invalid IRQs in the I2C bus drivers To: , Wolfram Sang , Khalil Blaiech , Paul Cercueil , Michal Simek Organization: Open Mobile Platform, LLC CC: , Message-ID: <7995bba1-61dd-baa3-51ea-0fb2fccc19a0@omprussia.ru> Date: Sat, 10 Apr 2021 23:11:59 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 Content-Language: en-US X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT01.lancloud.ru (fd00:f066::141) To LFEX1908.lancloud.ru (fd00:f066::208) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210410_131211_439116_BCEC481B X-CRM114-Status: UNSURE ( 5.57 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Here are 6 patches against the 'master' branch of Martin Petersen's 'scsi.git' repo. The affected drivers call platform_get_irq() but largely ignore its result -- they blithely pass the negative error codes to devm_request_irq() which expects *unsinged* IRQ #s. Stop doing that by checking what exactly platform_get_irq() returns. [1/6] i2c: cadence: add IRQ check [2/6] i2c: emev2: add IRQ check [3/6] i2c: jz4780: add IRQ check [4/6] i2c: mlxbf: add IRQ check [5/6] i2c: rcar: add IRQ check [6/6] i2c: sh7760: add IRQ check _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel