Received: by 10.192.165.148 with SMTP id m20csp4651044imm; Tue, 24 Apr 2018 06:21:49 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/jWnlYWCC5yiDEAvXPrmENIl5jt/qkA1NR/GA3roZHpYK4ndmqGrS9x3DlSoyxOlZbJ9k9 X-Received: by 10.99.119.195 with SMTP id s186mr19599756pgc.296.1524576109722; Tue, 24 Apr 2018 06:21:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524576109; cv=none; d=google.com; s=arc-20160816; b=K2QwYtHBuPjtCk5jQJXxD1ZIxgNDxBT8ZhvOYz/S//INi49FfcjDI9Kge6T18opJq/ WTzkCmyz2LBZzGiVqUFSHhUqfO2fKjdo2/dOgry1PgY77J7c+94H1DvH3gn+2TvNzAZL ZFmLcUqJTfIX0lA3PgAyXe3Z63stqGbL4jZFik5/gYuDnLmKmPMY4dPgci3drBMKivah ZGZz+jaNFqvsvJSaQ0Dh/bcKVEFShj0K5AM3uzUwe+QJVeDk0jkrhxIRoPDUdAAm3auR Qq/tQ3ZFOlU6ePAm4vwUcBmXN0+P/pT+eq3aBl4pGnv/D1RfYuCarmKwgCq/uw6xbt2O 9WNA== 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=B4Qar+o24Ve+S2CBjyjl0d7tHmMB+JFm1ooz0dOaui4=; b=xqHToi04vf/SGXtxMYhYbqxmWQNJKLJNmtJRbhChXQyOrbxzJgQ7LnDIHnvIc3e4ZT elZiNFjKBTx+F1V2leO2lWuXSF0zIyO2cFgcPbNd77lkHU3Mu08E7iRsJMr0RhhMHUG1 XLVOl3YSryknYyK9P8Vb/cOyWHEBm6HJhDTiNs0UhMEGXH9lcmlWUF3coox7Iu8DwZam sj/wCwCUaR/rxrgi4tQKRI5u/wqmkxhDAh+4sSG+25g2flxOm4lUTyA3YlCjq8+UsbR1 65vzKiuvo3S803W0jMAL+J/1weoaPz1+cACVWoXLKmIC7OdJmO2x4qNGOZk1T9COKi2g ApmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EUYBNAFW; 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 34-v6si14205542pln.473.2018.04.24.06.21.35; Tue, 24 Apr 2018 06:21:49 -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=EUYBNAFW; 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 S1758100AbeDXNUG (ORCPT + 99 others); Tue, 24 Apr 2018 09:20:06 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:36604 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758064AbeDXNTy (ORCPT ); Tue, 24 Apr 2018 09:19:54 -0400 Received: by mail-wm0-f65.google.com with SMTP id n10so816539wmc.1; Tue, 24 Apr 2018 06:19:53 -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=B4Qar+o24Ve+S2CBjyjl0d7tHmMB+JFm1ooz0dOaui4=; b=EUYBNAFWqc/SSW6LgL2NgE1A0divXN+A/6lgjO0sl8I5eKe+EYrvoyS7IgYsxZVEtJ SNqpS4BoIRQIZNAoxzcUNy4276Mnr9yxjkRQIRPyLwrQGnkvkwqK19Syy4ez6svmUSnc h8IMUkOup2EuRLxIhup7O3BGVitfD1xpOIP2dmS2wZQC5+ViSVmjmr4iPlj5ES5uy6A0 8b+Dj340VQK/KhrCswpCPyz4OHpVqeKHnWIrXzW5FpfB57bCrtOZGfLyNps0nJzbgMas P6ylxZV3ZpJGOEll50wJKIrhKbrJs5jp5Z3LhscIPZUd1jsbjEpRwSYVIcuWDIcWsZdg m3Tw== 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=B4Qar+o24Ve+S2CBjyjl0d7tHmMB+JFm1ooz0dOaui4=; b=NTT5hRtT+FkdvwGPZePJo/tVqjznqwBDckPubSHcyTeo6VMBoYizY/FG+RQX75dNb1 0KUqwM2QRtYOx/Mwg+18LGC/zt3UjJkmJIqDxXhmJ2exjY5LDandHjGYKC0EBN3vNWSZ VjBEKlGingjMDa2Ugf4kYe7yFw69ERfdlD1RLkC87pN/IjPSs62MDYATEVJDMhnqSgYM 0zgyy7BqtCpf92+TbCYKe4jB4RrfSzP2xMPvj55q/LhyhGhd109mrHX7fdZchpX8Po8R 939uxuVN74UFAwJj8RpkdPTjFznVg1h+yF/yZTuqlwbyENwPJZaVuAQBFE0RleHXSE1R dUAQ== X-Gm-Message-State: ALQs6tDZ4rTlcERmoP38lizFU84k5+ov3Sinw7SJzOfoAG+ZllwL0oKS H6aQANWao7jYtsYnAHL0xHbvUrmbmlM= X-Received: by 10.80.166.152 with SMTP id e24mr27343564edc.2.1524575992623; Tue, 24 Apr 2018 06:19:52 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:40e7:cd00:5113:f351:d61c:108c]) by smtp.gmail.com with ESMTPSA id 60sm7668096edy.10.2018.04.24.06.19.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 06:19:52 -0700 (PDT) From: Luc Van Oostenryck To: linux-kernel@vger.kernel.org Cc: Luc Van Oostenryck , Mauro Carvalho Chehab , linux-media@vger.kernel.org Subject: [PATCH] media: fix va1j5jf8007t_get_frontend_algo()'s return type Date: Tue, 24 Apr 2018 15:19:49 +0200 Message-Id: <20180424131951.6423-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/pci/pt1/va1j5jf8007t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/pt1/va1j5jf8007t.c b/drivers/media/pci/pt1/va1j5jf8007t.c index a52984a6f..588ee5d9f 100644 --- a/drivers/media/pci/pt1/va1j5jf8007t.c +++ b/drivers/media/pci/pt1/va1j5jf8007t.c @@ -88,7 +88,7 @@ static int va1j5jf8007t_read_snr(struct dvb_frontend *fe, u16 *snr) return 0; } -static int va1j5jf8007t_get_frontend_algo(struct dvb_frontend *fe) +static enum dvbfe_algo va1j5jf8007t_get_frontend_algo(struct dvb_frontend *fe) { return DVBFE_ALGO_HW; } -- 2.17.0