Received: by 10.192.165.148 with SMTP id m20csp4654238imm; Tue, 24 Apr 2018 06:24:54 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrmpvjDEvNzWwYPX2f+dzQUSvqrWb70ofmAAfZkl5BEZJQqSqKgCYLhQn2U8eKJxqe1JN5b X-Received: by 2002:a17:902:7702:: with SMTP id n2-v6mr3302454pll.385.1524576294165; Tue, 24 Apr 2018 06:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524576294; cv=none; d=google.com; s=arc-20160816; b=XbeIj1/0P46WisRexZ9S0IzOA+C8tc3YaTx0AeuhNY+L+Hj/5vq1zrEuQMvB5pJ78V IAfDSgkR21Ue5Jvpj34meOk9mKVfiHdkCDIr6qYVljH4E7quW6XEkSBb96KBv3JnAZZ/ D/FyiYa1wf8mzX+VgxtwceyXjtGPXZUx5ugzezxg2zPQMLnVfaUWwLuOc2+23zlcYvLo CUY9k3h/HnTcmQHyjIrho2OvVv+FZ96CuB8IAuj9Ts7Ssfv+agfcBxWC0wpYD7CwP1Ls X5yCYK/yh124aaP2NCaS1G7wJGCf6mrrQwgKK9PnLQds6y5Fuh4E9qxvfPVeLUXxA5Ah OuKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=nmNqRFHxq5ynFvV6RGwc9mtmPhw3Ghjji8BGUxLk0Rw=; b=eqyBSCiuXm9yPd0qf3HD+Ii5zaQLjkYFEGrjA5YF6QPsnGIOhdMyeW90CX7v7h/AN7 Y2OFnLofuvsVMKNjnHDrBb4mdg3Pr/Yz0CZqlNBObXHgtaE4BqIJP91xwX+9wCD5xFxB hkupCUaE1hHQ0uNEIZVxxCemp46Fvumsm//ZcF95qzSzAPd1VXSD8ZtfKyLqeswyZmrZ 14+vkB0PGoEAjPhz7iAFT6aHWcqyHY4gi/LjjXFXkhOSiqKKvQkTXKLxtPFMErMWYCQn wK/v4zF0hVGR58XNSNjrmL73OwIh+k5edFMtW0GuN0PwlNi1zukzmd7G1sw1t/kL7OHE 4zgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eJ9WqKCx; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a98-v6si14152845pla.239.2018.04.24.06.24.39; Tue, 24 Apr 2018 06:24:54 -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=@gmail.com header.s=20161025 header.b=eJ9WqKCx; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934206AbeDXNWi (ORCPT + 99 others); Tue, 24 Apr 2018 09:22:38 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:51867 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757992AbeDXNTc (ORCPT ); Tue, 24 Apr 2018 09:19:32 -0400 Received: by mail-wm0-f65.google.com with SMTP id j4so925992wme.1; Tue, 24 Apr 2018 06:19:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=nmNqRFHxq5ynFvV6RGwc9mtmPhw3Ghjji8BGUxLk0Rw=; b=eJ9WqKCxucEiFC4KhN7ksa1Y1U/iwQWiLOLFmy9EWdt/L+NwiduBwcB5ATvr5jtRP8 utHAKhTeGr3bgcsIEy4gmw4jHUCeUh4f0Lf6x07VrhmnWQHSFlb9xFUkLMW5sWBys3H6 OyqznlcUucuVvu9vhg2CAfTpVyxA7Y4I60FEREBuA/kjjgT7aXdZkRTSJUZqz74WYPRv RJ+/WZQA0jtqsrbxYRynLYXQTOmCt4QK87SrUB9Ae/+fN8JGSXt7UI5xi7+VXUznKquT KkuzPeVikxz/jkI9aeg7TYdt26Ougv3w3WFctKn/x9v59NsYRrn1dPKVEqV4ipbIld3p fOcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=nmNqRFHxq5ynFvV6RGwc9mtmPhw3Ghjji8BGUxLk0Rw=; b=tRopHRcJRfEWgYLXWLMe31aFEszSEpv7O9leP1xrof3VACQ/Tf1OvqOKSGP2sw2miS cmW3fqGKlYbYYGbHTk8gQ+SZhCdG2vzV2ryezlLyr8/a/lTyirr7ke976uuhPA85n9se 3qEhA71oD3TjRJRZhaKArN+kKWEJ6w7O5bH7OwQuzm1GXhxylI2rMqIadixSB/cU66S0 A770KZDxgCZTF9TUpBTg8TKKOo0g6CwhhL7fpmCy40M9nbHQW2vcV2R4CiHmbsesiXje ZSDhjG8lsCzwmiB+7ANiS8oh3/e+0RWVp5tz4LNYNbZMQGY1JjobW1t4m4eJJb4g1mQS 5gcQ== X-Gm-Message-State: ALQs6tDledOK81kyKFtqXZiB1T0zVGI72amJIwwC6fhOJCbgRPyUDhez YOxrUUtgH8UawYAR5DwDHdYhJzZk+/s= X-Received: by 10.80.244.181 with SMTP id s50mr33306653edm.262.1524575971067; Tue, 24 Apr 2018 06:19:31 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:40e7:cd00:5113:f351:d61c:108c]) by smtp.gmail.com with ESMTPSA id y56sm1194684edd.42.2018.04.24.06.19.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 06:19:30 -0700 (PDT) From: Luc Van Oostenryck To: linux-kernel@vger.kernel.org Cc: Luc Van Oostenryck , Mauro Carvalho Chehab , Hans Verkuil , Markus Elfring , linux-media@vger.kernel.org Subject: [PATCH] media: mb86a20s: fix mb86a20s_get_frontend_algo()'s return type Date: Tue, 24 Apr 2018 15:19:27 +0200 Message-Id: <20180424131929.6119-1-luc.vanoostenryck@gmail.com> X-Mailer: git-send-email 2.17.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The method dvb_frontend_ops::get_frontend_algo() is defined as returning an 'enum dvbfe_algo', but the implementation in this driver returns an 'int'. Fix this by returning 'enum dvbfe_algo' in this driver too. Signed-off-by: Luc Van Oostenryck --- drivers/media/dvb-frontends/mb86a20s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-frontends/mb86a20s.c index 36e95196d..c3b1b88e2 100644 --- a/drivers/media/dvb-frontends/mb86a20s.c +++ b/drivers/media/dvb-frontends/mb86a20s.c @@ -2055,7 +2055,7 @@ static void mb86a20s_release(struct dvb_frontend *fe) kfree(state); } -static int mb86a20s_get_frontend_algo(struct dvb_frontend *fe) +static enum dvbfe_algo mb86a20s_get_frontend_algo(struct dvb_frontend *fe) { return DVBFE_ALGO_HW; } -- 2.17.0