Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp4590768pja; Thu, 21 Nov 2019 22:26:15 -0800 (PST) X-Google-Smtp-Source: APXvYqwX9Cf4Dtd693lJltSWaXjdwcmTAquR+dqZUtIefB9LWMRVqQ8Q8vfYUK2R78+oxzkEedAV X-Received: by 2002:a17:906:7812:: with SMTP id u18mr19640530ejm.6.1574403975137; Thu, 21 Nov 2019 22:26:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574403975; cv=none; d=google.com; s=arc-20160816; b=C4V8g8cmEVvpc2BQdMBWwEIZ1GAPKhGWS5eeyxB6ub38sFsKlwY4iNAmrRpXoKOR4J Ev+rDtxI+aAFf3NH/zsoKjoXFmztNoUZY7kd0gRSwXEC3a3s2LZwFwCg9J0wWugYgpZL FK0copPXMbziodPXJlnApyc8R5RWzagRw19pJ6RgrNRMA8n7yJiV2b8cT17r1AQI/kbO bm6by0KFm0p90ulbgh7cNTsj/1sSJxYmuouXMZbEnakgK//1oRbPVOBhgnTi2SeWYxSF WNFLTEYxf51eMPVOITKZfTg4SZQ3/mv0zkBR4MBxwUY8VnEuDlEEg6p9ezGezLsCLSW/ dpOA== 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 :dkim-signature; bh=m4XIJgpzhDb1NOKEpk6oN0UOdnBQdiYJvuTu/8qVZ7g=; b=KOVoOtDSJXtw3HvfdSi5tCGflNnfQrQIb/jLerFWBCWQDwOh216MyqfUZsdsvunz6r /MjhfCjnVnTtlxatSMbXgwK8PQSTPNDa6wkbkwj/z43aSEUU4/S3p/vai4zx8YEyha64 sGlZfqVEFNFnwr8Ak768e4gdZrVOOr39gdhHbpBI1xfuk+n+gOGX7USgFFKaOiisfzkP TOJzYaT+/SaJjnloQ6236jn/uBCgySEiGdOIU1Y5S5ZvFudPdVlBAzlqk7O4GcKYaeEL O5fQMKyQGFyvZDXDB/PxrXLNUG8iHxe06cnoRTuR7nWtE983dRdRValni6QG0CitjpFA uhNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RyNXQ6Bt; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o19si4111755edz.393.2019.11.21.22.25.52; Thu, 21 Nov 2019 22:26:15 -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=@kernel.org header.s=default header.b=RyNXQ6Bt; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726909AbfKVFvm (ORCPT + 99 others); Fri, 22 Nov 2019 00:51:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:56770 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728200AbfKVFvg (ORCPT ); Fri, 22 Nov 2019 00:51:36 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2A9312068E; Fri, 22 Nov 2019 05:51:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574401896; bh=3STd+I0ZH/0LNTU+Yvg39crAO7P5nDqtGIPmBwkDu20=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RyNXQ6BtGSEOPCPc+bVanQCCWoiKOtuqtwcooMW1nRvGnKEZpZXkmLg6BT6lZc24a 5pGfeM3bmtRge16jbJx1nNbo1PCA0EjU0z3LQBL1Igini9G72WkIjN7wGgyqi6iwe+ 2QKWytmRho7r422mQ2MbvD8+/282lUH7vK9hqdVI= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Luc Van Oostenryck , Roland Kammerer , Lars Ellenberg , Jens Axboe , Sasha Levin , drbd-dev@lists.linbit.com, linux-block@vger.kernel.org Subject: [PATCH AUTOSEL 4.19 128/219] drbd: fix print_st_err()'s prototype to match the definition Date: Fri, 22 Nov 2019 00:47:40 -0500 Message-Id: <20191122054911.1750-121-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191122054911.1750-1-sashal@kernel.org> References: <20191122054911.1750-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Luc Van Oostenryck [ Upstream commit 2c38f035117331eb78d0504843c79ea7c7fabf37 ] print_st_err() is defined with its 4th argument taking an 'enum drbd_state_rv' but its prototype use an int for it. Fix this by using 'enum drbd_state_rv' in the prototype too. Signed-off-by: Luc Van Oostenryck Signed-off-by: Roland Kammerer Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe Signed-off-by: Sasha Levin --- drivers/block/drbd/drbd_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/drbd/drbd_state.h b/drivers/block/drbd/drbd_state.h index ea58301d0895c..b2a390ba73a05 100644 --- a/drivers/block/drbd/drbd_state.h +++ b/drivers/block/drbd/drbd_state.h @@ -131,7 +131,7 @@ extern enum drbd_state_rv _drbd_set_state(struct drbd_device *, union drbd_state enum chg_state_flags, struct completion *done); extern void print_st_err(struct drbd_device *, union drbd_state, - union drbd_state, int); + union drbd_state, enum drbd_state_rv); enum drbd_state_rv _conn_request_state(struct drbd_connection *connection, union drbd_state mask, union drbd_state val, -- 2.20.1