From patchwork Tue Dec 15 14:59:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 11974947 X-Patchwork-Delegate: jikos@jikos.cz 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=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 C59F3C4361B for ; Tue, 15 Dec 2020 15:01:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8E0A622518 for ; Tue, 15 Dec 2020 15:01:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729586AbgLOPBJ (ORCPT ); Tue, 15 Dec 2020 10:01:09 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:55017 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729410AbgLOPBD (ORCPT ); Tue, 15 Dec 2020 10:01:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608044377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=IKljx6FgCzdtloc3mc18Xk4cKwYG6+/P+prc9Q1mYZI=; b=fk905x4PbiPLjLr8SvgfvTXnKLoX6pjp8/VaYp2oTJH2vPD8GtEzEOiJQ4bsm7rerrsVKy atjfEbhCOe45IMedoUbKhe8oTR++C0aIJzrRG/s29zFzzGbKH6mFfmcaab6DiItnjSsw2u 92tSPc0YpksQuUD/t+GWvRiR39Pw0tI= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-97-IU9Dvb1UMF6J4Nm7V7tCDw-1; Tue, 15 Dec 2020 09:59:35 -0500 X-MC-Unique: IU9Dvb1UMF6J4Nm7V7tCDw-1 Received: by mail-qt1-f198.google.com with SMTP id h7so14468914qtn.21 for ; Tue, 15 Dec 2020 06:59:35 -0800 (PST) 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=IKljx6FgCzdtloc3mc18Xk4cKwYG6+/P+prc9Q1mYZI=; b=gUt7nn1IbLyfQLKp5bAxtdiwvKDs+GURSIeoiUrovsT+2Ruat7d1WpRMAO7YP69aRj GEg42BlD97doFMRPsfCJ3nxwy0AmZjzuuAVJDcKDNLgqvZ3KJcqRq9yxeuSL9RYwZpRs 9F3dMCqdkS80s+vaG7wWHzyZn8BQdnX6HARdqmWSbwBSohsBTKIvm1m4owOe5P4divOV sLz3l1Lv65rTYT00DVSLLJ5ztZXXUvZ6ckaqOeWN9MbcEeLNiqPGh5w5JZG76Oi/M2ny gyWtWKIcp7ZamfiZsMEiNjaHKjp83paNR8Xuu3XADazooZQwMfuGHw3hPzizwdqYxhR4 VH7A== X-Gm-Message-State: AOAM531YxjXY/J86PbXMaXDtpmebhBUkuvgeRb31ER+KDx4CJAPESCnj ZBp19hZuv+2wgVyuxeiavM85TbyDqhCYmcbq9Hvxz6eiXWZUo928jCVenywRjVqNZplTH3U7OKA mdPMdOjXM6KHl4OvaADqKKR4= X-Received: by 2002:a37:9e43:: with SMTP id h64mr39977602qke.380.1608044375464; Tue, 15 Dec 2020 06:59:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJycu6otuC4YO/BGyPd5ppmhTVfTafNZG9cE1BgzxMsc8XHugDuz4vdzli+bb/JCxJcj4P/10A== X-Received: by 2002:a37:9e43:: with SMTP id h64mr39977581qke.380.1608044375283; Tue, 15 Dec 2020 06:59:35 -0800 (PST) Received: from trix.remote.csb (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id l1sm17648469qkj.101.2020.12.15.06.59.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Dec 2020 06:59:34 -0800 (PST) From: trix@redhat.com To: david.rheinsberg@gmail.com, jikos@kernel.org, benjamin.tissoires@redhat.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] HID: wiimote: remove h from printk format specifier Date: Tue, 15 Dec 2020 06:59:28 -0800 Message-Id: <20201215145928.1912641-1-trix@redhat.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org From: Tom Rix See Documentation/core-api/printk-formats.rst. h should no longer be used in the format specifier for printk. Signed-off-by: Tom Rix --- drivers/hid/hid-wiimote-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hid-wiimote-core.c b/drivers/hid/hid-wiimote-core.c index 41012681cafd..4399d6c6afef 100644 --- a/drivers/hid/hid-wiimote-core.c +++ b/drivers/hid/hid-wiimote-core.c @@ -1482,7 +1482,7 @@ static void handler_return(struct wiimote_data *wdata, const __u8 *payload) wdata->state.cmd_err = err; wiimote_cmd_complete(wdata); } else if (err) { - hid_warn(wdata->hdev, "Remote error %hhu on req %hhu\n", err, + hid_warn(wdata->hdev, "Remote error %u on req %u\n", err, cmd); } }