From patchwork Fri Mar 26 14:34:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12166817 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 738ABC433C1 for ; Fri, 26 Mar 2021 14:35:04 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3262E61A05 for ; Fri, 26 Mar 2021 14:35:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3262E61A05 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6A9C16F3E4; Fri, 26 Mar 2021 14:35:03 +0000 (UTC) Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by gabe.freedesktop.org (Postfix) with ESMTPS id C09736F3E4 for ; Fri, 26 Mar 2021 14:35:02 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id g25so3136924wmh.0 for ; Fri, 26 Mar 2021 07:35:02 -0700 (PDT) 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=VoFNqvJqV3TdL84vFoklC/P+s5SxY+mp4X8TTiNgMtE=; b=P+VsgdwqxC7S+r3aEF02+Phf4siu0/ukHmkddSss85wkzBu4EICPyZs9fP4AJk7kdQ a5dW6dH70JwYO457Ljil7DbwsUtsiPgUC1cMner3cAcl4d3LlgxctQIOREK/EMxLUV8F q54mo9DrRKtujvY75fE8ck0i45ZCiT0WTzJ/DSCCjOOggIX97lR/7mCEjPO7bFzSGPwD qPd+6jvSgAZG2KTUf0sbZVGUUUFLu3eCBc+TbxiPuO09l8pI8Ug4ZrgnfaZniN+UZ0Z6 4G9n6eLtW0aHwoxyD6JuqeqHKz6R/GPtIksun4/V53szdCuUiSdL6rlV+Ri/BAgTJrjP pP0g== 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=VoFNqvJqV3TdL84vFoklC/P+s5SxY+mp4X8TTiNgMtE=; b=njyoKUyT+vtg9WT4nCSdWk+wFKIPAjDWQWdVh4SQYTYdCxFp4Uj0EX6ZTqFBrRbq5e by9Fo5TwaqbHOdekWDALNYnG5ERqVuyWY9s/uRiVrqvbBgp2Yv6OFfE/kdFyXK/CFiG/ ScI/0GDH7Sz7ZpJ8U3I1/bZMVIdN+d1XLRj9VEKD2nNNyhdt1BHZuJs2GCdccJqEVKgp /52turSnJZdEaj+icdFOKX1pbd1s7U5kcYtujSXOBs7BZ8m/uDjZ46gx//VmroV/mCOI v3+OvfGYbZjtkvDh7W0iE04dlCVPaodylb2t+Fwld0jITbCJI0hNmw1f2y7UcY6bT6W+ ThbA== X-Gm-Message-State: AOAM533POS1RDeoqj/PG2Fksad4FHoSHW4LZat8kzoK5QAjUGcUguNNz lN07DDH3X9VpAtePVyMoxOtysg== X-Google-Smtp-Source: ABdhPJwVQ28g1uJ1l+3b8N6u3arMMfkW6TtopkB+1sfuYd5LjRqBrN12fvh40SnvFHqZ/sewwpeOGw== X-Received: by 2002:a1c:6a05:: with SMTP id f5mr13383680wmc.184.1616769301335; Fri, 26 Mar 2021 07:35:01 -0700 (PDT) Received: from dell.default ([91.110.221.194]) by smtp.gmail.com with ESMTPSA id j26sm12878225wrh.57.2021.03.26.07.34.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 07:35:00 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Subject: [RESEND 00/25] Rid W=1 warnings from HID Date: Fri, 26 Mar 2021 14:34:32 +0000 Message-Id: <20210326143458.508959-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Zhang Lixu , linux-iio@vger.kernel.org, Alexandre Torgue , dri-devel@lists.freedesktop.org, Kai-Heng Feng , Anssi Hannula , Kim Kuparinen , Srinivas Pandruvada , Dario Pagani , linux-stm32@st-md-mailman.stormreply.com, Henrik Rydberg , Lopez Casado , Rushikesh S Kadam , Masaki Ota , =?utf-8?q?Bruno_Pr=C3=A9mont?= , Vojtech Pavlik , linux-input@vger.kernel.org, linux-media@vger.kernel.org, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , message to , Jiri Kosina , "L. Vinyard, Jr" , linaro-mm-sig@lists.linaro.org, Michael Haboustak , linux-arm-kernel@lists.infradead.org, Daniel Drubin , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Benjamin Tissoires , Maxime Coquelin , =?utf-8?q?Christian_K=C3=B6nig?= , Jonathan Cameron Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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. Lee Jones (25): HID: intel-ish-hid: Remove unused variable 'err' HID: ishtp-hid-client: Move variable to where it's actually used HID: intel-ish-hid: pci-ish: Remove unused variable 'ret' HID: intel-ish: Supply some missing param descriptions HID: intel-ish: Fix a naming disparity and a formatting error HID: usbhid: Repair a formatting issue in a struct description HID: intel-ish-hid: Fix a little doc-rot HID: usbhid: hid-pidff: Demote a couple kernel-doc abuses HID: hid-alps: Correct struct misnaming HID: intel-ish-hid: Fix potential copy/paste error HID: hid-core: Fix incorrect function name in header HID: intel-ish-hid: ipc: Correct fw_reset_work_fn() function name in header HID: ishtp-hid-client: Fix incorrect function name report_bad_packet() HID: hid-kye: Fix incorrect function name for kye_tablet_enable() HID: hid-picolcd_core: Remove unused variable 'ret' HID: hid-logitech-hidpp: Fix conformant kernel-doc header and demote abuses HID: hid-uclogic-rdesc: Kernel-doc is for functions and structs HID: hid-thrustmaster: Demote a bunch of kernel-doc abuses HID: hid-uclogic-params: Ensure function names are present and correct in kernel-doc headers HID: hid-sensor-custom: Remove unused variable 'ret' HID: wacom_sys: Demote kernel-doc abuse HID: hid-sensor-hub: Remove unused struct member 'quirks' HID: hid-sensor-hub: Move 'hsdev' description to correct struct definition HID: intel-ish-hid: ishtp-fw-loader: Fix a bunch of formatting issues HID: ishtp-hid-client: Fix 'suggest-attribute=format' compiler warning drivers/hid/hid-alps.c | 2 +- drivers/hid/hid-core.c | 2 +- drivers/hid/hid-kye.c | 2 +- drivers/hid/hid-logitech-hidpp.c | 7 +-- drivers/hid/hid-picolcd_core.c | 5 +-- drivers/hid/hid-sensor-custom.c | 5 +-- drivers/hid/hid-sensor-hub.c | 4 +- drivers/hid/hid-thrustmaster.c | 24 +++++------ drivers/hid/hid-uclogic-params.c | 8 ++-- drivers/hid/hid-uclogic-rdesc.c | 2 +- drivers/hid/intel-ish-hid/ipc/ipc.c | 2 +- drivers/hid/intel-ish-hid/ipc/pci-ish.c | 3 +- drivers/hid/intel-ish-hid/ishtp-fw-loader.c | 45 ++++++++++---------- drivers/hid/intel-ish-hid/ishtp-hid-client.c | 11 +++-- drivers/hid/intel-ish-hid/ishtp-hid.c | 2 +- drivers/hid/intel-ish-hid/ishtp-hid.h | 9 +--- drivers/hid/intel-ish-hid/ishtp/bus.c | 9 +++- drivers/hid/intel-ish-hid/ishtp/client.c | 5 +-- drivers/hid/intel-ish-hid/ishtp/hbm.c | 4 +- drivers/hid/intel-ish-hid/ishtp/ishtp-dev.h | 4 +- drivers/hid/usbhid/hid-pidff.c | 4 +- drivers/hid/usbhid/usbkbd.c | 2 +- drivers/hid/wacom_sys.c | 2 +- include/linux/intel-ish-client-if.h | 8 +++- 24 files changed, 90 insertions(+), 81 deletions(-) Cc: Alexandre Torgue Cc: Anssi Hannula Cc: Benjamin Tissoires Cc: "Bruno Prémont" Cc: "Christian König" Cc: Daniel Drubin Cc: Dario Pagani Cc: dri-devel@lists.freedesktop.org Cc: Henrik Rydberg Cc: Jiri Kosina Cc: Jonathan Cameron Cc: Kai-Heng Feng Cc: Kim Kuparinen Cc: "Krzysztof Wilczyński" Cc: Lee Jones Cc: linaro-mm-sig@lists.linaro.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-iio@vger.kernel.org Cc: linux-input@vger.kernel.org Cc: linux-media@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com Cc: linux-usb@vger.kernel.org Cc: Lopez Casado Cc: "L. Vinyard, Jr" Cc: Masaki Ota Cc: Maxime Coquelin Cc: message to Cc: Michael Haboustak Cc: Rushikesh S Kadam Cc: Srinivas Pandruvada Cc: Sumit Semwal Cc: "Uwe Kleine-König" Cc: Vojtech Pavlik Cc: Zhang Lixu