From patchwork Thu Jan 14 15:23:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362859 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp598075jap; Thu, 14 Jan 2021 07:25:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJzRwh4QT239AShpczoAhsqkd6eEcG/ABiFXh5ELczabfuHJhWCSYS32Z2pCHw9Y5gTPmgsT X-Received: by 2002:a50:d685:: with SMTP id r5mr6323972edi.248.1610637933373; Thu, 14 Jan 2021 07:25:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610637933; cv=none; d=google.com; s=arc-20160816; b=hKZEf1o8xSAIP11d99NjrIRac0MJAij4R9b2QhY9CMm9LFcYdsO4PA3SOsoGuN71we hyAXdwZBnCheCV/a+HRgPdhb2OT6QMTTHCEoaWKbabD1wyrpjLJaPY0iDbik0HgD7dwI +kFxQ2vamRhFb0e5I5Hg+wt5Ng57cUEkTuOB0M2vWemCv75Kli1Xstpcsd+vXh/K0AV6 FiiXTF80WhK0/M0bqbAvVijPsOrw+kdM/pMs8INjHGMQGpbC0iLSr/LySXy7eZ1aYCm5 V4X5iCNuYtiNw++etzBqHxH8aYLprqzv/eQ7INXefDFN1VYaSrNQYb9R5F57AvnYO7UC 6c/w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=LUR3ZC5J+1hLkR7qz5X75neLOSs5yFqeDGs5AO9qOw4=; b=OwXTEUZyxop/UT4cOvEa7K/7jAHON6ndb+N8M8mmrZhUJzlrhSDl8DCTUEkCUXQV1F ZZWG9NDE132qgM6v5KPO7Ie5gw3uV2ndywfvP9z1s+Pmzsp2PhnV6IKtqwm+VO5kZbE8 VVkNO26ucyCIKvRLjCt+No2L/2zVBwI0FMwwBElguxWe2V1Unep+sGzx9Cz8KSPIAHrz LoUmJCeDdBFBK3wzo1J2RlYf/fR08Wdzi1n6Ppx0IcBKmGhwhQBY13AgzvNSyrERLa9l KC9PS4Nc/TOaHaE6ySzT9PFpi4HOOGfWko9NsW/CNbUKMcHK2e4lkBgAl3oj0wKM+xkZ HzLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LWGlRpsZ; 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: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a5si2449825ejr.334.2021.01.14.07.25.33; Thu, 14 Jan 2021 07:25:33 -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=LWGlRpsZ; 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 S1729280AbhANPYO (ORCPT + 1 other); Thu, 14 Jan 2021 10:24:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729068AbhANPYO (ORCPT ); Thu, 14 Jan 2021 10:24:14 -0500 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C14AC061757 for ; Thu, 14 Jan 2021 07:23:33 -0800 (PST) Received: by mail-wm1-x32d.google.com with SMTP id r4so5015732wmh.5 for ; Thu, 14 Jan 2021 07:23:33 -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:mime-version :content-transfer-encoding; bh=LUR3ZC5J+1hLkR7qz5X75neLOSs5yFqeDGs5AO9qOw4=; b=LWGlRpsZ+c5J5N8fxZQxQAtRsePbal/MHQsI00818w2JQRVWkSwZfq4KGRZpl5qQkS cmUin/BmDApKu0+yaK/yZKP+4GpIg+m1J3cUGHIGmhy7zBQf6lDT7cHaPzXUx3m5d7nh hsfV+fAjLuZlK4DVOrbY53QYJFJBfyzJ4eJ89TVmoD5Gex4jCGr5mEIT3l4Wx2xS+ub6 crLMVAZao1Bt1oxaQ9kFAonzeBN+svgQ1kpFWLKQxM8WWiD2PWL8jXWhM0OhQZ3ypx37 H4rO9JO7eNksW+7X3SvoCCDcdb3xvdwD3ZuNvEkxQLqeTWXAzIgdMJpUlE4jJc6y2b0a Flsg== 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:mime-version :content-transfer-encoding; bh=LUR3ZC5J+1hLkR7qz5X75neLOSs5yFqeDGs5AO9qOw4=; b=RuQrycoaW3tOSN10WDSpCR4nJhuI7SsKTwYEKSgw56i4tInYUElLK5+NTM2goALvDs VpnREAxYUn8qPez3wGapvBXEgd2Gap6q96yPZZRUHY0cC2psWuHomaIv5pXGkm5btRd7 NgTEHhOJn9ZNz3Lx2aDRG9dhm/THFNGBnBYCSKXTRNZgZW/opFHxg5xkEy7+EpiMpvLQ 6K2MWARA9Af47IS4/Ct9ZNpWEMwbrW+8jdrdJ2q/x/RgEzHfDltHH127PQYduExwxUsm d2WLMd2Tjp9FyIGOanBUWtlG2CHCzciI2bhOOpKZKKH7WKTPGOwyz4N1VER1phwj2law sqeA== X-Gm-Message-State: AOAM530Jsuzw2MxyItjVWI2SbALlmhPqwke6y/Wc9afAR0UaoHg0T6RI omtXTxP9HHmvl28sIwHyeb3OQQ== X-Received: by 2002:a05:600c:313:: with SMTP id q19mr4402221wmd.126.1610637812260; Thu, 14 Jan 2021 07:23:32 -0800 (PST) Received: from dell.default ([91.110.221.178]) by smtp.gmail.com with ESMTPSA id e15sm10777713wrx.86.2021.01.14.07.23.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 07:23:31 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alexandre Torgue , Benjamin Tissoires , Bruce Kalk , "C. Scott Ananian" , Daniel Ritz , Dmitry Torokhov , Henrik Rydberg , James Hilliard , linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Luotao Fu , Maxime Coquelin , Peter Osterlund , Sangwon Jee , Stefan Gmeiner , Stefan Riedmueller Subject: [PATCH v3 0/5] (Set 2/2) Rid W=1 issues from Input Date: Thu, 14 Jan 2021 15:23:18 +0000 Message-Id: <20210114152323.2382283-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. This is the second (and last) of 2 sets. v3: - Make use of 'ret' instead of removing it - Use __always_unused instead of removing unused variables - Fix recent/new warning regarding undocumented 'prop' param v2: - Replace empty if() with commentary - Suggested-by: Joe Perches Lee Jones (5): input: mouse: synaptics: Replace NOOP with suitable commentary input: touchscreen: melfas_mip4: Mark a bunch of variables as __always_unused input: touchscreen: usbtouchscreen: Actually check return value of usb_submit_urb() input: touchscreen: surface3_spi: Remove set but unused variable 'timestamp' input: touchscreen: stmpe-ts: Add description for 'prop' struct member drivers/input/mouse/synaptics.c | 7 +++++-- drivers/input/touchscreen/melfas_mip4.c | 8 ++++---- drivers/input/touchscreen/stmpe-ts.c | 1 + drivers/input/touchscreen/surface3_spi.c | 2 -- drivers/input/touchscreen/usbtouchscreen.c | 3 +++ 5 files changed, 13 insertions(+), 8 deletions(-) Cc: Alexandre Torgue Cc: Benjamin Tissoires Cc: Bruce Kalk Cc: "C. Scott Ananian" Cc: Daniel Ritz Cc: Dmitry Torokhov Cc: Henrik Rydberg Cc: James Hilliard Cc: linux-arm-kernel@lists.infradead.org Cc: linux-input@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: Luotao Fu Cc: Maxime Coquelin Cc: Peter Osterlund Cc: Sangwon Jee Cc: Stefan Gmeiner Cc: Stefan Riedmueller Cc: this to -- 2.25.1