Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp177637yba; Fri, 5 Apr 2019 04:36:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxEA2gwIJuxukXgAD0m3fK5j4vArDsLKVUYyZ+Ol6upN/FWUO2Mra/e67dM1rQhPT+MNf5Q X-Received: by 2002:a63:30c5:: with SMTP id w188mr11432351pgw.76.1554464208594; Fri, 05 Apr 2019 04:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554464208; cv=none; d=google.com; s=arc-20160816; b=IzEZLs3Hj52QjtnMIROwzNb78sMD8S92r+launsmKRmHzEEGQgPkO37Fg8wM/a71/t nNZZ4AvnFLLvsUuRMC0pFpc9K4D5fGosXTdJvmSOzT77nsGuJisy23HmbQx396KCMGxH Xz5Cb4VaDGjkY+MfHyI1FceqtqLV6cbQyhVTdcBJWkCMbCf/OOScwqdahI1yAwROeFEI xkr5hpOn+DzvKJBtwEhi/yiqce8d9I9vf0Zs32HGIPTYO0PLf+No4HfUpsENbqpaRcCF QHUBGuHDQIVY6sDeCkMIjg+HpfpW+txXcWtQJrbPz6nhx8LFtp5CAfxjRzuXv5Q6sLvX f2QQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=uPxYOz3ws5ZAdn8W0X+VTEuKzHIN0huNT72vUrvCVW8=; b=KIjSwwdWT2pZ2PyivmnQOc7YRCB+ToQ4pOIXV83qNZCOng2VZFyebcwxoLkdmEyW79 keVWlaqXPAAQ/S5srOlYWRS8+5upQXL/LOwbcB+DpKkd31CQ0FsSz4irQLnce/6luAu9 V/Sb7aA8LVtqD//zdu4GlwsrUrTmiY2+sI8susU3oZxL3Nsv1GVysXlaYmSTIlG+fBkk URYoULIsBg8searr3ufdHj0wi/JfGCOhc25tuwVOkp5m3f4HktXLZj22ejcLcA3LYSB4 DIoBYccxSWIkL6l7YvaoQVl0BVpQiVOGY4HOlZbzRbK/0WOe1L+1XZAc2FJFTvIBo3jU GnTQ== 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 h8si19830039plb.282.2019.04.05.04.36.33; Fri, 05 Apr 2019 04:36:48 -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 S1731116AbfDELem (ORCPT + 99 others); Fri, 5 Apr 2019 07:34:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:43922 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731069AbfDELel (ORCPT ); Fri, 5 Apr 2019 07:34:41 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 75311ABC1; Fri, 5 Apr 2019 11:34:40 +0000 (UTC) From: Nicolas Saenz Julienne To: linux-kernel@vger.kernel.org Cc: phil@raspberrypi.org, eric@anholt.net, stefan.wahren@i2se.com, Nicolas Saenz Julienne , Greg Kroah-Hartman , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org Subject: [PATCH 1/3] Revert "staging: vchiq_2835_arm: quit using custom down_interruptible()" Date: Fri, 5 Apr 2019 13:34:20 +0200 Message-Id: <20190405113423.14495-2-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190405113423.14495-1-nsaenzjulienne@suse.de> References: <20190405113423.14495-1-nsaenzjulienne@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit ff5979ad86368425b7da3a25f4e84650b51ff5fd. --- .../staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c index dd4898861b83..bfc064a5f884 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c @@ -541,7 +541,7 @@ create_pagelist(char __user *buf, size_t count, unsigned short type) (g_cache_line_size - 1)))) { char *fragments; - if (down_killable(&g_free_fragments_sema)) { + if (down_interruptible(&g_free_fragments_sema) != 0) { cleanup_pagelistinfo(pagelistinfo); return NULL; } -- 2.21.0