Received: by 10.192.165.148 with SMTP id m20csp4735879imm; Tue, 24 Apr 2018 07:37:49 -0700 (PDT) X-Google-Smtp-Source: AIpwx49Mz1CDYBjRBV/Zd0fodvAWqnnTl1RQPosgQGyK0lGMw4KpFZj+iiDBcWHvMH2zbtWEyqPz X-Received: by 10.99.109.129 with SMTP id i123mr20635189pgc.319.1524580668932; Tue, 24 Apr 2018 07:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524580668; cv=none; d=google.com; s=arc-20160816; b=xxoVPDqHguPjF0JnmXqazGQKQYUj0DIdPLmCm/iRxrSN+3XA1qdJRbiYVC2XjLDawT BuzNbj2ueh3L0VEwfcSNDWjJoZlAwV90h+YHcjENLEe3Vk20iVsOnGr1Ty4OBVEZEMLM K3iz1pFrdOq3uzlaJlcAgxJv2uuDaAG/Sz323YjMyR5SLyCOxCJXVrBkVDki0krrGQ4Y g3vWUp1rwvS/DUY/XWrvud9BfuTiu6GDZhG/vVG/Ku3BKsybBNm8x8lDbp5YrB8otU5+ VFeznW6sWtpTNA9yhv9lhq5GsOAMTI+dGzVsE/BXZ0z1ySW6Ww+JaNpAfNDDpaEK1ALQ 9hGw== 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=MfBaxNtx3NPVRHEhlEH2MwLQKjFyRvSlFsiJUJbd5D8=; b=JQTMHPvLUrDxdCyVO15nT4CjfhKn44H7w8U3weoPsD/r2axxm99cWXVIyIgoS4FReq 35XFgQgggqxhPQ2aUPAjwiJaL0Z78eFYMTRiDKuoxt+krVscbN9nctT6xRrbqkjdaV1j K0L0QEQkBl3SBEZ9Hdlf4jdtXfbkk42HmnnA1Z3ZmdWwGs2U3uhKIDqzlOTpojCTWTdC 78sjtrY9yrcW2j62OnaLlCtfqRFBMRY7Z9DwYIGKPPlwd1/O6/1xcaTeLVOcusZZuIA0 0+VW2pzHCuSlB/CAADdn2UAmfLeBlOwMiMKC18CSPLaCc/4Y5gxDCTsoXX55en6ZnpOi XuCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jFdRvSl4; 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 x32-v6si14061536pld.435.2018.04.24.07.37.34; Tue, 24 Apr 2018 07:37: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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jFdRvSl4; 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 S1758005AbeDXNTY (ORCPT + 99 others); Tue, 24 Apr 2018 09:19:24 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35452 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757963AbeDXNTS (ORCPT ); Tue, 24 Apr 2018 09:19:18 -0400 Received: by mail-wm0-f65.google.com with SMTP id o78so816042wmg.0; Tue, 24 Apr 2018 06:19:18 -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=MfBaxNtx3NPVRHEhlEH2MwLQKjFyRvSlFsiJUJbd5D8=; b=jFdRvSl4094NXs6PxPwb/ETV8AuKjvYMNHC6+gWLJThpuIr9IDt2MalNCku9gdN6he 43uhCVKRAk89t1WpkLtJ77iSfUUHSlirpwAl6nLxPSOevQ40dyfT5TmiC6v9ttI50/w+ SLD0zkzyQdgcnCzhc2eEvtII7ydzdVBfp1eBS2nhM40ZzHy1YTS3e1scHLhrOchp7Ip2 LlFOOmlqW0Yp/t5qssuscHciwwf3q+T/0RiO6tgN/ocm4ZVjr8em96vnNWY5ep0/9UG4 zHtThfRV+uBX/wEHbg/78ciPAnDlnID8eTiTicxqtYx+YksBugCietBUizTFyZ398/ir 2RcA== 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=MfBaxNtx3NPVRHEhlEH2MwLQKjFyRvSlFsiJUJbd5D8=; b=aVaBiSp83V/NGeQ/nPYOMceg/VuivFrEYhwnnrsu64Bexp6Z2Huab3jVZ7PawAPg1C OXiUX2pq/vzQGzJdNMPFgjLAzB9327aqXlgh5JN6+8z6LGHq19SX3VKVUDc2A4wUg8ux jMkzXylb5Fn9wZuqCm8yytXdP2ZTwjqFDvzobaMhJ49avycLcDaCQ+a2/s8ihXTeRKyR gqujt7ApJgfSNXTmM9tZwr6Ttqm5+wXv42p2J4HDhH/yH/bO8I/4FZeLTcDRyi07Wn32 QNEHJ1V6mHidIC3ZUM1RBDKiLa7TOBwfKUBrrKeTz3LdWdhJX0B4Z3JoqtNZUSJsUma2 dvKQ== X-Gm-Message-State: ALQs6tBDvWrjlUXUXyhe24EE47JA6QkYQ7Jjbkywq1oOQ35NthI0EgzA YCAp0cT22wV/nmmkqN0edbNhWnpHoVI= X-Received: by 10.80.134.109 with SMTP id 42mr32752228edt.229.1524575957280; Tue, 24 Apr 2018 06:19:17 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:40e7:cd00:5113:f351:d61c:108c]) by smtp.gmail.com with ESMTPSA id q19sm9302265edd.39.2018.04.24.06.19.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 06:19:16 -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: cx24117: fix cx24117_get_algo()'s return type Date: Tue, 24 Apr 2018 15:19:13 +0200 Message-Id: <20180424131916.5919-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/cx24117.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/cx24117.c b/drivers/media/dvb-frontends/cx24117.c index 8935114b7..ba55d75d9 100644 --- a/drivers/media/dvb-frontends/cx24117.c +++ b/drivers/media/dvb-frontends/cx24117.c @@ -1555,7 +1555,7 @@ static int cx24117_tune(struct dvb_frontend *fe, bool re_tune, return cx24117_read_status(fe, status); } -static int cx24117_get_algo(struct dvb_frontend *fe) +static enum dvbfe_algo cx24117_get_algo(struct dvb_frontend *fe) { return DVBFE_ALGO_HW; } -- 2.17.0