Received: by 10.192.165.148 with SMTP id m20csp4650854imm; Tue, 24 Apr 2018 06:21:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+2PzPbdTLmv7sXHzcSKRqUvFPq212hjVOHpo0Om7fvZo91A4/M29Kt0p+6DwMi30Kou9Vu X-Received: by 2002:a17:902:ba94:: with SMTP id k20-v6mr25039369pls.193.1524576098597; Tue, 24 Apr 2018 06:21:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524576098; cv=none; d=google.com; s=arc-20160816; b=IA8CkDsitjEptTLoD1C9y6M+HlBMMHNq1sg2kKrm3LYfXkc4xFtlKIyHPVDT7m0wKh FJP5c9OebxFAEMBCplUSZDkq9w2tk3DEVgGxeePuE/eehN2cMfp3gzFyTmbO8ypE2Efv nsofz6Yhnu8MSVvrXmNUY5pQTJvj1GKuw0yMsIueZ+BKZbVUmaw1SbHu0QDq2BlKywjp 8eV+McaYG45FmQp2oHMy1KW8pTKAO6Lf8j7EX0Ftx0SMSPyXm0snBOIq8sPEHcHtFDwZ kD5SPM9Hcq/HXYa6zZ1XysJBoT4fVEeCs42s2H98kKviVrjftg4fZID/jBoZIuOBd/Al JlOA== 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=bUHAXt8XosxMp8UrWHzGAhclDsuuzkyxmccKc7bTmAk=; b=NWacly9JOsc5RMr7cv3XmUfqFRfbmMkV9O8anHxfLIakmXLbE7UJG5Ro2cR0Nx3K1t JEWPy1Bk/0dWrOArWjy65e3A/Cqd/+e76Q/hCe/hwRTdG2eTf2Q9HuplIkc29ik9Ue18 8qAkgamfUaVxPX+bCocvjUv+uGOqRa754wECp3ZM4mhyTz7E+oBoUjsn75OmYj5LZa2k Jee9UgKUOqkpx6WkTHT5vlC1l884CVDFV0FvIjIvl8g9Zdb7F9nmviBkCdLWw8rkaXbn QCzIFqqS70CLpFpkt0ddyDG2QcQ55OpLCDenEJ+NKJugo1BXZzdxsxTtB43gppjusQVx 9c/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=vOQGn8IU; 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 a10si11439980pgn.636.2018.04.24.06.21.24; Tue, 24 Apr 2018 06:21:38 -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=vOQGn8IU; 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 S1758053AbeDXNTx (ORCPT + 99 others); Tue, 24 Apr 2018 09:19:53 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:51941 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758034AbeDXNTu (ORCPT ); Tue, 24 Apr 2018 09:19:50 -0400 Received: by mail-wm0-f65.google.com with SMTP id j4so928232wme.1; Tue, 24 Apr 2018 06:19:49 -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=bUHAXt8XosxMp8UrWHzGAhclDsuuzkyxmccKc7bTmAk=; b=vOQGn8IUZdijnKOYj/xNjzQc2gtm5yQccNEpBfM52CwhERFCNCkNOxIyJV9EloKtIY AdNkcKC1b/31vjoNWY/V31o66Apm6vWPzhEI5epxXEX6cf8xdZM8461CH7Yh7Qmdoec5 9RO8JY69n3feqtZBPGpPWku3xGNDPhRMfs6KZO54gnaagqrgDFTc0upV5suU1iXvxuvN ywKcS17n5LU8MW1s5ZknewQFl7g8Q1B3T6DqETrvVSKc96JRKeLlrA5Iv2J5jHvCzJOY oqCWPFTIxkjRARtjC3PXGggTQArWwQ6Zkm4woW2OMwC7V0NiITPXYUVA04EkNVubU97h Txpg== 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=bUHAXt8XosxMp8UrWHzGAhclDsuuzkyxmccKc7bTmAk=; b=FNC34BvWK0bBtj+7o12XjGK92YrTOX8ltET0gaM00P0SQi1+J8X0TLQjxpl21BFFHp d2YFONvMhb/NwiXfHgVnEUgo6KWDggdeQZ5rLEhSTmKQu5ordNor4v0qrjOWNmkLXvC5 z2vhsn/Twhid/L6Fs2E8bwfLWP4iNozauBU0PdxPvhfOagvYo5jQZgeHrwnbLvL6UuUR ejmQ0BFUfOXGhr/UJKzs6kYQUPSiZ28uHPkOVCWGvuZHKK1oQdpogEg0N1nE0NuBWsJz FelnFA/OMtYLk7JQgQSTFkQ62EG1UfBtsTpwpBnUZpe9dwc2bWWrQLC7bMMshi9m7rJp Sd6A== X-Gm-Message-State: ALQs6tDSz6Wf27uZKw9mfykZCRVLM5pcVSINZm/YPnu9HGD/gSsdmWgm RXKLYo0anOEOX+PfPaEDurK5JCEpnWE= X-Received: by 10.167.212.137 with SMTP id b9mr19008722edr.121.1524575988579; Tue, 24 Apr 2018 06:19:48 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:40e7:cd00:5113:f351:d61c:108c]) by smtp.gmail.com with ESMTPSA id q22sm1422288edr.71.2018.04.24.06.19.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 06:19:48 -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 va1j5jf8007s_get_frontend_algo()'s return type Date: Tue, 24 Apr 2018 15:19:44 +0200 Message-Id: <20180424131947.6371-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/va1j5jf8007s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/pt1/va1j5jf8007s.c b/drivers/media/pci/pt1/va1j5jf8007s.c index f49867aef..3edc0fe2e 100644 --- a/drivers/media/pci/pt1/va1j5jf8007s.c +++ b/drivers/media/pci/pt1/va1j5jf8007s.c @@ -98,7 +98,7 @@ static int va1j5jf8007s_read_snr(struct dvb_frontend *fe, u16 *snr) return 0; } -static int va1j5jf8007s_get_frontend_algo(struct dvb_frontend *fe) +static enum dvbfe_algo va1j5jf8007s_get_frontend_algo(struct dvb_frontend *fe) { return DVBFE_ALGO_HW; } -- 2.17.0