Received: by 10.192.165.148 with SMTP id m20csp4654623imm; Tue, 24 Apr 2018 06:25:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/zecjeuUxZaBltYTxWc6oVLj8chnX3+aNdbt7sZwoSA5moBCxEAlyh6U5jwjFvkmqt1A8y X-Received: by 10.98.236.24 with SMTP id k24mr19670020pfh.204.1524576318279; Tue, 24 Apr 2018 06:25:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524576318; cv=none; d=google.com; s=arc-20160816; b=ao2qeI2a8zf9nUurclZbm9gtQbRrwN3dMSg8wA37fEnRaLTHXBrjBa9JMv24RchnM/ OgGXk2jPpHPxLEg962//neVhFDIPBbD1mF5axdALGwmIkLIIMicLz3i8lX2FFqQDjrFS Ok85dtKrxDSBocyPb+ydrDgzWDgoM1pqjzwdFp+3xK+V+L2nb4GTrH1olHPDgb9sVFbX Bxrsqpiw14LVitvYhwYaPJwzzs8ksGc5+3sLScJd8LBh4H2SAMW4WQC36Zga2egCKmVy +ngmI3ZfsfSFGmuxG6LU8LyTw5ubcWLP81/1NegvDg0L5SAzxw65jdjvnJE0zZBQsoWj I7Yg== 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=wqD2yinVwub4DUdKeV5KIP5wN4/+eZ/U8juuwWKAR7g=; b=w7dQQG0XB7GepeTExab4p4JQipqwmFZhaP8Gwua17goz7t1ud9Cb8mqhw0F6gHK4UH ijUMhZWczEyth6Z/kmScrmwwHKuhxXto3MiQArpBuWQi96MDT1NsuOqZxry+42Xgi/cW u/rkOg8x6bPk9lGdsvF7AiKdrkWlVqG7ZRG4LXumwFDl2y4RctO9Cyo1ol7PEo6Kmi3z SIuzUZx4rOslEZCoIQmR6PUGymtpLiq6tVoFmFEWp//GxAOvghNsM1JW0q7t1G8M0iEl Pfm3c/284LwKT6/LObX3HiiK3jrH3aW7ayklDVenE94oZQyRu/1v6p4CnKLB5rW514TN cvZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=L+7xWZti; 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 c23-v6si13236263plo.80.2018.04.24.06.25.04; Tue, 24 Apr 2018 06:25:18 -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=L+7xWZti; 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 S934193AbeDXNWP (ORCPT + 99 others); Tue, 24 Apr 2018 09:22:15 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:50880 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758020AbeDXNTj (ORCPT ); Tue, 24 Apr 2018 09:19:39 -0400 Received: by mail-wm0-f66.google.com with SMTP id t67so925681wmt.0; Tue, 24 Apr 2018 06:19:38 -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=wqD2yinVwub4DUdKeV5KIP5wN4/+eZ/U8juuwWKAR7g=; b=L+7xWZti7bMDwdNPoOoi+0COeMKpxg78rGz0DofHnQzHY0ePeT5Vi2V3LgNe0DrivJ zB/9CXKYPbc//aWGIUV0ha/8Vri9vFkPl72qr46dp1i4OfTuRtz7xidmrrWrOgmUywt7 x0H6vchaqWYnuKiHZbHbboMtDf5KAk0IqutQESWMMH5cLFU0QnVRff7DUK3PndDVqh0Q 5yHgBC1b/DcyjIxqoc+onpP61kVS4gmpHb7kQTdL0/slmKh56o2AUqwjHPC3CIn4gDju xzjtpKYL5v0ZLMUgc2WZs+SVaF8Z6ebbmBDfxWoD0I+Sn1afiwjaXG+XGcMBtf5Ph+I3 Senw== 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=wqD2yinVwub4DUdKeV5KIP5wN4/+eZ/U8juuwWKAR7g=; b=SX64K+gVkCESmwbTKbIPasXaJeYaBVsx4jHVZQDPyjqvRAVT0Js/ASjW4cIUy0g8PW ciyMdbeJlkLwGva0c3cGURLRAYLAb1iFMixmbqRDUwfqmNktKIsDGIW4hY6lS8wpjtFd J7/yWX3bo/Eusv+RD0OQ+jhqrcBfBdcdUhUPOi7T8AlJE8cSBx9Qb2F6ep2Gy3bd1/Qk IiJlYr3S63VvwpcUBt99oD4O5eG8HxAt6PlnlWBWN32D7WX5rjN9AGpiaqTFRQjN/Vgk 1WeUK5nabF2k9oqyyP6+ezcnK7OAyTvZtGlk/VBx7QFH805UJXC90GnQ53/gVgDucJgg 5zZQ== X-Gm-Message-State: ALQs6tAuhoywBo1g/P+wPwBxTcbMr3vaIugbmqocy/I/KIcdMgRBeUKg wiVlgbtAH0yKjpdEJ53IE0sagUjdelQ= X-Received: by 10.80.193.153 with SMTP id m25mr33327307edf.151.1524575977680; Tue, 24 Apr 2018 06:19:37 -0700 (PDT) Received: from localhost.localdomain ([2a02:a03f:40e7:cd00:5113:f351:d61c:108c]) by smtp.gmail.com with ESMTPSA id z42sm9785328edz.36.2018.04.24.06.19.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 06:19:37 -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: s921: fix s921_get_algo()'s return type Date: Tue, 24 Apr 2018 15:19:34 +0200 Message-Id: <20180424131936.6220-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/s921.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/s921.c b/drivers/media/dvb-frontends/s921.c index 2d75ede77..6c9015236 100644 --- a/drivers/media/dvb-frontends/s921.c +++ b/drivers/media/dvb-frontends/s921.c @@ -464,7 +464,7 @@ static int s921_tune(struct dvb_frontend *fe, return rc; } -static int s921_get_algo(struct dvb_frontend *fe) +static enum dvbfe_algo s921_get_algo(struct dvb_frontend *fe) { return DVBFE_ALGO_HW; } -- 2.17.0