Received: by 10.192.165.148 with SMTP id m20csp4653914imm; Tue, 24 Apr 2018 06:24:35 -0700 (PDT) X-Google-Smtp-Source: AIpwx48pfSP3pbL3xVnqWXKD6PdauR4hieNkSKNS4UHln+nCsM4RH6R58G+KyDVplOHmBaaISQuE X-Received: by 10.101.65.195 with SMTP id b3mr20308503pgq.118.1524576275646; Tue, 24 Apr 2018 06:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524576275; cv=none; d=google.com; s=arc-20160816; b=vprYcKdeh6cjBHN7X2ozESoBZ/q93x3Gsr0Cgj2rexcH98QPX6f/O/CLPC03DABbT5 0Fy4YO/FYXbKEncqueatcA70eVndKLxFWMW+uQVvwMjcz2/GW5taqfDRGrG5NkFK5Z9F R2kODK8FEnZ3d8DpR5fRV4Tv9Pn7FywgtE+5U8xt/mYtxURebLJ8l/GGSdnAmauZRKqA /t9Z11t4eHPay9r9yEMbjCefQT2RdOfLzTYY8F2joidYWUQrDVn5zrwoUSNZBli9mYrn mQZdAyo7//x+D5w6QDbD75wKDu9+u+mxY7vmaG4CJ1tllsgHiqnv54sOMzEUAtXYQ8ys Q6ZQ== 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=o2P0T1Kr8QHQoNNQqxIBWbzZFaBqXYqrCoElzD7nro8=; b=qiPLr7YOl20tjFpie1yYHDs5MGuF9VxG08uLpfG9mNyaX5uwnRvwU+ajAzDb4wFCOb PW3mtbqKxm5vpYDlVLXddnhlUXpzYHoY2oO4ApAyP9GzQhIm4aOP8Aajkk9dCqUiXhHS duMgsn4/EmVk3AnZ0DTPuA3OdEO7fV7yG/inHr1Pbgq7hqwkB1viKfSHRWulAogrm/CF 0BA5bTN1XNm17XKiYhG87gquOpYb8VViP9g5Kf1nh5sqREh5Lz6eedOxQX+pC8ROJby5 mCVxa2I7C2dSf+L3o+MPEw3xnJr3GIJ5MUoR96szwq9v/0UdFOVaUAhvzhjDr+CKLYQ1 gSfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tXeWrDz+; 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 l3si11805359pgc.425.2018.04.24.06.24.21; Tue, 24 Apr 2018 06:24:35 -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=tXeWrDz+; 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 S934220AbeDXNWl (ORCPT + 99 others); Tue, 24 Apr 2018 09:22:41 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35473 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758010AbeDXNT0 (ORCPT ); Tue, 24 Apr 2018 09:19:26 -0400 Received: by mail-wm0-f68.google.com with SMTP id o78so816705wmg.0; Tue, 24 Apr 2018 06:19:25 -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=o2P0T1Kr8QHQoNNQqxIBWbzZFaBqXYqrCoElzD7nro8=; b=tXeWrDz+U9kiEQ9NLiCxsS2hW/Dy3YWMlU4LQHxeR13DBglW1k62JeEi/oMOqBT3Jd RdZqHGhtFoEHPYcbXgP5fsMBeUBHAtoH5J7cVWJgOf5U/Lv5dUKtqjpW6Dmyo/EVm2iG B6BSqnTZ+8K2Sy4tLcaGyXH3bQDzujbJ5ARTUp2/3K44QRxj9toGRt3IwYBfwFF8Ekfn SnB+7hn58IIW5GaRiQ1Ftox2PcO9QECdXH6Ky+OqpeYocNnJKYNOPAzkP49m04rd3/3d aElDBPpXvuDpjPbf95ot0LJllcN6fw6moMy2u5hEzSdhn7ECnAHMl3unJCjEk6CtTtnx zLaQ== 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=o2P0T1Kr8QHQoNNQqxIBWbzZFaBqXYqrCoElzD7nro8=; b=NFi0UjqywRz3WQTxnjNwOSybLrYuRW8OTez0TH13dgaKZ1RaDo91Lf7UxHhFJ9wpS8 R2Mnt7kiONMKOCg4lweX+62+t4hcUlwfpqOIj1p2zRkpxd2OECqs18tuXU2pC6ZP31MO JSiY1DOnkfUAL4IIgP+t78SyQ48NdCWiIYGztp0l8xmTloHIIZiqEg0yrGrfF9TYohem jyZ7CMRrjfE2r3rrPl2UPjb3Fm0Js/WiqWlbCM4J/nNyp3LhRYqtpbjgFLELUP7R2f4F Okn0vnsu6nXFLv8OUAeaxXArp55ZI6Ix8n05ZRH/KnG+Rk1yM6y0CZLT0QbveiwUJ1IH ReqQ== X-Gm-Message-State: ALQs6tDdpi2Be17YEEtuTe+dAfg7R+Z5Gt+UV2bCGpt7C8FSqmMvZrkL nAesYudZ9/UlXH8xII7SyONOQQvpWFQ= X-Received: by 10.80.214.15 with SMTP id x15mr33151821edi.16.1524575964696; Tue, 24 Apr 2018 06:19:24 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:40e7:cd00:5113:f351:d61c:108c]) by smtp.gmail.com with ESMTPSA id a16sm9405697edd.28.2018.04.24.06.19.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 06:19:24 -0700 (PDT) From: Luc Van Oostenryck To: linux-kernel@vger.kernel.org Cc: Luc Van Oostenryck , Mauro Carvalho Chehab , "Gustavo A. R. Silva" , linux-media@vger.kernel.org Subject: [PATCH] media: cx24123: fix cx24123_get_algo()'s return type Date: Tue, 24 Apr 2018 15:19:20 +0200 Message-Id: <20180424131922.6019-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/cx24123.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/cx24123.c b/drivers/media/dvb-frontends/cx24123.c index 228ba1f4b..bf33e7390 100644 --- a/drivers/media/dvb-frontends/cx24123.c +++ b/drivers/media/dvb-frontends/cx24123.c @@ -1005,7 +1005,7 @@ static int cx24123_tune(struct dvb_frontend *fe, return retval; } -static int cx24123_get_algo(struct dvb_frontend *fe) +static enum dvbfe_algo cx24123_get_algo(struct dvb_frontend *fe) { return DVBFE_ALGO_HW; } -- 2.17.0