Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp515142imm; Fri, 22 Jun 2018 00:10:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKSfJ3TKhhzEXG3sbCRtCf8aoMNvxkDhgRN9/UJovvloVXKMeGZwHoUJWQkbEMn5saClkTr X-Received: by 2002:a62:f407:: with SMTP id r7-v6mr468627pff.47.1529651427010; Fri, 22 Jun 2018 00:10:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529651426; cv=none; d=google.com; s=arc-20160816; b=V4pePnwm4xLbqU0Gt90dt45pt29SHbkR6JVvUV9neyZv0JT2R4fVr6/r/HxaSb4dlr oWPvrgicVLbxoFrxT/DRSvLRgmB7QF9duyvr8gM62H6vqs3LJ6AIiXYr69XDXENEATjZ iLZoekDYOOPsoor0bRB8yOUXv5C1Gn1X533Caw18EuX3w1A5iG9n4lTNP2jUg9PNWHB9 s6+v3foFY8fPD9CbtlF03yuDRqkWeUDobDnqqUZFW34ba3z2q26fizTszALOevUaMY+j nRTlxaHVd1fLI7aw1dlXv0HuqXQ9kIul+MnKzVyXWMNnqNFIB5zHNBCoDrOJoN8SdvhW 2CCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=qO1pGPkyiwYMzgEFkQfKtwC0FPuWzCAQPCu4zFyWhmw=; b=q8O8POSvW08jCFCJl1omlw+mfUBUDMgSHE/jnV5qGImzmMb+Uu/tLeHG30fwu+OZVq NxECoolaexG72cNyiSoOX6tmaIuD25ACQlanaYKA8/lPxpo067Mt4MFE2dSRMud8H3qO Z54uIP7ZvEjSwAWwAbDIV6EZ3Fr9CdWKFp04eYYK8QM9lvcDFqRHV9hollsFyVyRhcac kevl2ML/CK3IeYuojjB1GexrJ1P0CYb+0+O8RxMKGJ9Vq9c3J/qk0W/A5AiD582w4sGC 5UHv6JWvOcaGaB+mtoHSMARo9tNun5w7/UzDPKiaBKvf/6r4C0e7qXINT/CJdqVhCoki IhlQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p5-v6si6757397pfb.171.2018.06.22.00.10.12; Fri, 22 Jun 2018 00:10:26 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751201AbeFVHJc (ORCPT + 99 others); Fri, 22 Jun 2018 03:09:32 -0400 Received: from smtp.eu.citrix.com ([185.25.65.24]:46272 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750934AbeFVHJb (ORCPT ); Fri, 22 Jun 2018 03:09:31 -0400 X-IronPort-AV: E=Sophos;i="5.51,255,1526342400"; d="scan'208";a="75104150" Date: Fri, 22 Jun 2018 09:09:20 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: Boris Ostrovsky CC: , , , , Subject: Re: [PATCH] xen: Remove unnecessary BUG_ON from __unbind_from_irq() Message-ID: <20180622070920.wbawc3poyvwvguwu@mac> References: <1529602184-2861-1-git-send-email-boris.ostrovsky@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1529602184-2861-1-git-send-email-boris.ostrovsky@oracle.com> User-Agent: NeoMutt/20180512 X-ClientProxiedBy: AMSPEX02CAS02.citrite.net (10.69.22.113) To AMSPEX02CL02.citrite.net (10.69.22.126) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 21, 2018 at 01:29:44PM -0400, Boris Ostrovsky wrote: > Commit 910f8befdf5b ("xen/pirq: fix error path cleanup when binding > MSIs") fixed a couple of errors in error cleanup path of > xen_bind_pirq_msi_to_irq(). This cleanup allowed a call to > __unbind_from_irq() with an unbound irq, which would result in > triggering the BUG_ON there. > > Since there is really no reason for the BUG_ON (xen_free_irq() can > operate on unbound irqs) we can remove it. > > Reported-by: Ben Hutchings > Signed-off-by: Boris Ostrovsky Reviewed-by: Roger Pau Monn? Thanks, I had this on my queue of TODOs.