Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3931795imm; Mon, 8 Oct 2018 11:54:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV60M7FexDIAfbgKK4ouF2Uyx0zrmg1llu2SbcQ6m7xdts3iza4HAVVgWq35yll7vgUYzFnww X-Received: by 2002:a17:902:7244:: with SMTP id c4-v6mr25326889pll.339.1539024848845; Mon, 08 Oct 2018 11:54:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539024848; cv=none; d=google.com; s=arc-20160816; b=AuROEUJmaYRaQ2sWFYs9iXI3JNFFD8lf7WItKaMjMUDku45gqelFak+wb6g6FDiK8B JFl2AUWrsMKNaEQ0utAuDxmpTvGMrbJoilb6Yhv3qDLGqDKLS5LkkYXzVPUNkCO/JWvw CtbJIaf0yGgS/Sp7Bn5EHbn0tVd7VEkkaj5kJpDYtG5k8jYXYZC3LoX8bie2yRhHKKIw wFQEtDDeGe8tWRSmGF1fYuWuYKmZJjkO+4Vgg2wDrm0cHOoaFxqkT+uEAnorjNTQrGqs A4hC3Xl5nkRFUw20s9dx4Yzt9MSgA5P2jpvs5y3Ou9n3X5SzUNQ4ThZkSsw8KttP8SSP JWwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wWB3ZIplHjefxEdqc4SbbUB9EM/mS+ZOfdOLJP+pIbY=; b=hL7pA9OuJX70APVuQurmJp2u86VYbDuTRI+9zo1XrqtbpdaJEDfB8q3/pRJMPIh5eW h9lcAODVkon+0Jpih7GhhF027KcbjLTjO5xWsfJ1RgcHpLArV3GnckJZrydXhvva8jdO 8Kp0NltRXOwQrvLNjbXD2YQh2lLVtwEXflMYHso841VTqtgCTwM8eeFGZIwmDqtVkaGN lKBBmK2xys6e84LrkNds6HVpnmWS4kxprf8+YheRz8fvgzZTbmo+zEiI5cXLC4pVJxgn omXjlicdIsS6Gq883wGla88enEzsaNQ5cI9XrxFR7CSplvkzD1CgtSVrhBnSE2rPXf2V 5SYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=FokKXolj; 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 b1-v6si15035455plc.237.2018.10.08.11.53.53; Mon, 08 Oct 2018 11:54:08 -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; dkim=pass header.i=@kernel.org header.s=default header.b=FokKXolj; 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 S1732805AbeJICGz (ORCPT + 99 others); Mon, 8 Oct 2018 22:06:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:57330 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727670AbeJICGy (ORCPT ); Mon, 8 Oct 2018 22:06:54 -0400 Received: from localhost (ip-213-127-77-176.ip.prioritytelecom.net [213.127.77.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D83FA21479; Mon, 8 Oct 2018 18:53:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539024826; bh=iwYFuN61bzDpcpfrf2dWVcQjFaa3LSQ7ihNKu9SSZrA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FokKXoljgvc6XFwPOqewZ4CNonVYaqDfdStVB97KHrlXY1dNxMCg0b9YKtUN78Mjc FxHOIfa15ROfl+xEIwF7hotCV29w8yeFUi24h5VbqBuHNcPWlMltx91DW7NJpHTTSX ochhZyMGFhQnt2QlVM+g/64WSe4E9ccsoywM5yq4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Joshua Abraham , Juergen Gross , Boris Ostrovsky , Sasha Levin Subject: [PATCH 4.18 142/168] xen: fix GCC warning and remove duplicate EVTCHN_ROW/EVTCHN_COL usage Date: Mon, 8 Oct 2018 20:32:02 +0200 Message-Id: <20181008175625.427523517@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181008175620.043587728@linuxfoundation.org> References: <20181008175620.043587728@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Josh Abraham [ Upstream commit 4dca864b59dd150a221730775e2f21f49779c135 ] This patch removes duplicate macro useage in events_base.c. It also fixes gcc warning: variable ‘col’ set but not used [-Wunused-but-set-variable] Signed-off-by: Joshua Abraham Reviewed-by: Juergen Gross Signed-off-by: Boris Ostrovsky Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/xen/events/events_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/xen/events/events_base.c +++ b/drivers/xen/events/events_base.c @@ -138,7 +138,7 @@ static int set_evtchn_to_irq(unsigned ev clear_evtchn_to_irq_row(row); } - evtchn_to_irq[EVTCHN_ROW(evtchn)][EVTCHN_COL(evtchn)] = irq; + evtchn_to_irq[row][col] = irq; return 0; }