Message ID | 20201104162427.2984742-14-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp5568565ilc; Wed, 4 Nov 2020 08:26:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJyzMEXoXVCa616PqFiCE2yCqEPYuh3Cdg1EKQBulfmm91Y4VWM/AHO3oYXqIB7jFE960p5+ X-Received: by 2002:a17:906:158e:: with SMTP id k14mr24974749ejd.496.1604507160534; Wed, 04 Nov 2020 08:26:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604507160; cv=none; d=google.com; s=arc-20160816; b=AViIRfgK+EcXgkPCg0hdJMWpiOxohiIahAc7T3x0edzv2uTCyQ+gRRgQJEFSXNDyHn gemMgCFe+b9jLLsP7G7AQURCk6JiCrU3FVzahXTU4HVKanYU37BQW/pboWS7j6EH5ur9 5gNCH89pELpZ4aMEZka8JceK6K9rbZ0lOppMCJ23PL3RnZjYmhDKEdOHUeFNyssP6F8o wUVGl23iCv97Zr9WPNGJ2pB/ye25RX9t+iROfUx2at5kPR8MLsdRpBCW5T73pX1UMj7Q 6bfHhudRy5/Ti45PtX+D0oF6tKs6LIr925yDiHyxp73Qffg4qGozPdw9HRmtFY50K5lO J9Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=msuLefrZcEgx331/KYpWGgm3TBHNpr52u7dLtV0zqps=; b=JpH3dPGrAHfjLyNzTPhQztmq+cJ+bYGEXnHIxuKEUiyci6M8f/xkpU5l3QQhsNkYOd 5DbMSwZQvOjaVhnqWcJG8bTws5nHSMyNEcyUBBYKDi52fgiIZFNmMBQmLqIXxD5wyzpN czi6OVDgqES5755jor1RmWaiWDzhyb90KViTwOKVXaoUqXyhtA+gLsv0nIQ1ExY6PyGa GZvUey50S8CEnzKsywoFUurBXcwv/z8dTSjUnxAohZBateCrFKbmjwZJUdCwz8UlpsH5 zE6hMfDbuLRUZLkJeAm1L08dsmVrEE9qhKqUA3WY4UMBBEw9nIJJrzvk6hfeOF9RGdX8 Hp2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wfZOJTrn; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-input-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si1776273ejk.300.2020.11.04.08.26.00; Wed, 04 Nov 2020 08:26:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wfZOJTrn; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731128AbgKDQZ7 (ORCPT <rfc822;patch@linaro.org> + 1 other); Wed, 4 Nov 2020 11:25:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730976AbgKDQZD (ORCPT <rfc822; linux-input@vger.kernel.org>); Wed, 4 Nov 2020 11:25:03 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A8E8C0401C3 for <linux-input@vger.kernel.org>; Wed, 4 Nov 2020 08:24:59 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id n15so22750933wrq.2 for <linux-input@vger.kernel.org>; Wed, 04 Nov 2020 08:24:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=msuLefrZcEgx331/KYpWGgm3TBHNpr52u7dLtV0zqps=; b=wfZOJTrnJLcGlYWEG9B+GhDqsHkblvuFsfWhIGXyFjshWYHWR4vtXpsCVcTSbmVkAt oxZ4bOxM0fIV8AbbwoIkF1EnPmnlgGZYsQS5pID2zK7Tabthi6BONKDAbjiuNUy2eYal NMr6y+NvM+aeRXDTHIfFQRC2JqjikLBItk8Fr9UBD/3PloBYg7qMTloSAkweE+wDx3ak dcl9jOKsDuFTjE5uvUBCL4HfzV+K/V0Sy1c/Peh9K060HUY3KJ85bnTI5sjEpa4sCvoq ovgD+NsiBwUCq3HGH7W4sKf7tsfAsOrvdrWeyN4eKNB2Ff8X7EwtQ2hjfnJuslsGgnEr 7aDQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=msuLefrZcEgx331/KYpWGgm3TBHNpr52u7dLtV0zqps=; b=DIm5rcSiaWIwUkAITOFz3BSsBqnU7UIIS5Bc9ALmIsfY73xdGvYkXFozEo5CKR/S9j Eqzb5Zviyw6vlcq0IZA+qU17Zwh7gboNXxJwJI0tbUelG4XcmaphicI6QB7HKb0ipc8q aChShjFwFzIScfCTIkWKnutvLufYQ8VuSzRvlu7mzeoxrjeT6SaZPh+jG7qcXpp01yY0 uEBFUzs36ao4PmazI2ZQ6ic1Ppj23GbER2nvBKPXSmeV7MzLIFbaofHBvbsUQBmLyDVl NWEhUiHmIwSN4muWG0yHbhNbeVaM1CBWWoLy0fpE4kFwzA6o6u9H9DOTi8Gl3dvnmhXq VTBQ== X-Gm-Message-State: AOAM532dH8avseCL4HJMwqgxzbfPkPE2UTlC9ff+xfL5HWuj0YDFNlOS GOQP5UHeBS9vb85zrRDKZOYyOPpnGZPcRrs6 X-Received: by 2002:a5d:6ca8:: with SMTP id a8mr18741943wra.319.1604507098189; Wed, 04 Nov 2020 08:24:58 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id o129sm3008564wmb.25.2020.11.04.08.24.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Nov 2020 08:24:57 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org Subject: [PATCH 13/20] input: rmi4: rmi_f54: Provide some missing 'REPORT_TYPE' enums Date: Wed, 4 Nov 2020 16:24:20 +0000 Message-Id: <20201104162427.2984742-14-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201104162427.2984742-1-lee.jones@linaro.org> References: <20201104162427.2984742-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-input.vger.kernel.org> X-Mailing-List: linux-input@vger.kernel.org |
Series |
Rid W=1 issues from Input
|
expand
|
diff --git a/drivers/input/rmi4/rmi_f54.c b/drivers/input/rmi4/rmi_f54.c index 6b23e679606ee..93b328c796c64 100644 --- a/drivers/input/rmi4/rmi_f54.c +++ b/drivers/input/rmi4/rmi_f54.c @@ -42,6 +42,8 @@ /** * enum rmi_f54_report_type - RMI4 F54 report types * + * @F54_REPORT_NONE: No Image Report. + * * @F54_8BIT_IMAGE: Normalized 8-Bit Image Report. The capacitance variance * from baseline for each pixel. * @@ -64,6 +66,10 @@ * Report. Set Low reference to its minimum value and high * references to its maximum value, then report the raw * capacitance for each pixel. + * + * @F54_MAX_REPORT_TYPE: + * Maximum number of Report Types. Used for sanity + * checking. */ enum rmi_f54_report_type { F54_REPORT_NONE = 0,
Fixes the following W=1 kernel build warning(s): drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_REPORT_NONE' not described in enum 'rmi_f54_report_type' drivers/input/rmi4/rmi_f54.c:77: warning: Enum value 'F54_MAX_REPORT_TYPE' not described in enum 'rmi_f54_report_type' Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/input/rmi4/rmi_f54.c | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.25.1