From patchwork Thu May 20 12:13:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12270211 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=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 9E1FFC433B4 for ; Thu, 20 May 2021 12:50:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7F45261184 for ; Thu, 20 May 2021 12:50:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243076AbhETMvR (ORCPT ); Thu, 20 May 2021 08:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242944AbhETMvF (ORCPT ); Thu, 20 May 2021 08:51:05 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06111C06916C for ; Thu, 20 May 2021 05:13:57 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id u133so9047295wmg.1 for ; Thu, 20 May 2021 05:13:56 -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=N+rsDWAMv4x1ZiNx5AapS5e6MR/cbmzAQ/wF+EUOxGU=; b=cR3MbNlHRY+hSafJx7VAjfSope7BFgR94/44HuaDrveC1bGEnVAaWRp72T7xvM0XoU OTDDqMvOLczZa0Yvp5vjEaVW5Exg5f5iypjfSszL7Pv/7/5oSjatQAHxdeMrD/CSxPmP 8XbqrDRkkfYJAlnaICjiZD7MIHTWYiFNH0cEy/lXgNFMkwo28P57IbtdVRsrhxAn+q9p S5SSJBsrkkm8/LbtosRlsbtzn7QgwanZfaqwoxfOHC69k6CHIljV5dyJ9RWYnRzTlG6R v1m1BolGX8TjunA9APuGjMSeBGGGxaMaO6jVTKKwGm+M2rQw3SEwbNWRVcLOeUzuHSC3 YHhg== 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=N+rsDWAMv4x1ZiNx5AapS5e6MR/cbmzAQ/wF+EUOxGU=; b=kn2WN5xK5adHyvVsYjX0N9zbOKeK9gQcMGsFg1MWGt6HGstMy3BpRcEfj0mSpD6+Wz BQoY8JUg+fYMGyWBcis3kDz8XPT97SD2eN1feU7eB1mdICUlwiVW2JtNjAcQ6aAXjup5 EdohxTUCKpFgDXTGhrxeuAF7+Ent9YMKnwrpOmAiXAz58qRJp+oJfi6/5/aN+kViVfcH Ub5w35su5J5O364u5nJAyJAhXjwrNoTjOGMK5pcIEwzUZoJ1NxiPrlshz5pTOHUYV0V5 02rRvOQgWYTzs1JWosdFURUbDxJfFbvzKRGesZozaUtrMJVaU/qXwqvPJtp5qCWOXP9d OkcQ== X-Gm-Message-State: AOAM5311jVapUmEMRZoBeZSytMr12PbvxsCHd/ukN3Zry2/PbwqO3jXX pbkro0soTdnBs2gc57X0VwtVFg== X-Google-Smtp-Source: ABdhPJyASSt/x1V8q95MVvVq2U/YMyWW3NXlYBCB6FmxOMXdwlT2RPBDCPtfjX12ceL8X8BK7YpF8Q== X-Received: by 2002:a7b:c34a:: with SMTP id l10mr3390379wmj.46.1621512835550; Thu, 20 May 2021 05:13:55 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id 61sm3393704wrm.52.2021.05.20.05.13.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 05:13:55 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Arnd Bergmann , Benjamin Herrenschmidt , Bob Picco , Clemens Ladisch , "C. Scott Ananian" , "cs.c" , Dave Safford , David Airlie , dwmw2@infradead.org, Greg Kroah-Hartman , Harald Welte , Herbert Xu , Jarkko Sakkinen , "Jason A. Donenfeld" , Jason Gunthorpe , Jerome Glisse , Kanoj Sarcar , Kylene Hall , Lijun Pan , linux-crypto@vger.kernel.org, linux-integrity@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Matt Mackall , Michael Ellerman , Michael Neuling , paulkf@microgate.com, Paul Mackerras , Peter Huewe , Reiner Sailer , "Theodore Ts'o" , Thirupathaiah Annapureddy , Tyrel Datwyler , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , van Doorn Subject: [PATCH 00/16] Rid W=1 warnings from Char Date: Thu, 20 May 2021 13:13:31 +0100 Message-Id: <20210520121347.3467794-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-integrity@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. Lee Jones (16): char: pcmcia: cm4000_cs: Remove unused variable 'tmp' char: pcmcia: cm4040_cs: Remove unused variable 'uc' char: random: Include header containing our prototypes char: pcmcia: synclink_cs: Fix a bunch of kernel-doc issues char: pcmcia: synclink_cs: Fix a bunch of kernel-doc issues char: applicom: Remove 3 unused variables 'ret' and 2 instances of 'byte_reset_it' char: tpm: tpm1-cmd: Fix a couple of misnamed functions char: tpm: tpm_ftpm_tee: Fix a couple of kernel-doc misdemeanours char: agp: backend: Demote some non-conformant kernel-doc headers char: agp: frontend: Include header file containing our prototypes char: agp: via-agp: Remove unused variable 'current_size' char: hpet: Remove unused variable 'm' char: agp: generic: Place braces around optimised out function in if() char: agp: uninorth-agp: Remove unused variable 'size' char: hw_random: pseries-rng: Demote non-conformant kernel-doc header char: mem: Provide local prototype for non-static function drivers/char/agp/backend.c | 4 +- drivers/char/agp/frontend.c | 1 + drivers/char/agp/generic.c | 3 +- drivers/char/agp/uninorth-agp.c | 3 -- drivers/char/agp/via-agp.c | 3 -- drivers/char/applicom.c | 10 ++-- drivers/char/hpet.c | 4 +- drivers/char/hw_random/pseries-rng.c | 2 +- drivers/char/mem.c | 2 + drivers/char/pcmcia/cm4000_cs.c | 3 +- drivers/char/pcmcia/cm4040_cs.c | 3 +- drivers/char/pcmcia/synclink_cs.c | 74 +++++++++++++++------------- drivers/char/random.c | 1 + drivers/char/tpm/tpm1-cmd.c | 4 +- drivers/char/tpm/tpm_ftpm_tee.c | 6 +-- 15 files changed, 60 insertions(+), 63 deletions(-) Cc: Arnd Bergmann Cc: Benjamin Herrenschmidt Cc: Bob Picco Cc: Clemens Ladisch Cc: "C. Scott Ananian" Cc: "cs.c" Cc: Dave Safford Cc: David Airlie Cc: dwmw2@infradead.org Cc: Greg Kroah-Hartman Cc: Harald Welte Cc: Herbert Xu Cc: Jarkko Sakkinen Cc: "Jason A. Donenfeld" Cc: Jason Gunthorpe Cc: Jerome Glisse Cc: Kanoj Sarcar Cc: Kylene Hall Cc: Lee Jones Cc: Lijun Pan Cc: linux-crypto@vger.kernel.org Cc: linux-integrity@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: Matt Mackall Cc: Michael Ellerman Cc: Michael Neuling Cc: paulkf@microgate.com Cc: Paul Mackerras Cc: Peter Huewe Cc: Reiner Sailer Cc: "Theodore Ts'o" Cc: Thirupathaiah Annapureddy Cc: Tyrel Datwyler Cc: "Uwe Kleine-König" Cc: van Doorn Reviewed-by: Arnd Bergmann