Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp628699imn; Fri, 29 Jul 2022 18:52:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR7lSz2VhqpbVnGs8PS6J09UAJV+wQPurRttXqtSphr7QOjZs5ezhmAQ4yiH6EiL21fzeUhH X-Received: by 2002:a17:90a:930b:b0:1ed:5441:1fff with SMTP id p11-20020a17090a930b00b001ed54411fffmr7068924pjo.238.1659145945690; Fri, 29 Jul 2022 18:52:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659145945; cv=none; d=google.com; s=arc-20160816; b=krWr3XIaKktCARzO16He2U7/3ZSYN08/PoTIk41lCE0DR6iiWFonaylFyXzaHf1I0s AZJ0B7zGAdkEhVfn2s5BxAsvbh2UT5afKJbOzKFxO25yUMGP/vEIZAWLbZldFG1ES3pG s4MWCPgSoGbvb1pJSBk8uxwGWWZiY1ptoAheryBpSeme4Kj/Ss7WSx0O57jD1TPIUq6o ihctIP11NxCSWrfxTEqX+2MbNG54LSw4ZBKGBIMse0DU8T+9IUTt0bOaC7qeDRFxKGh1 H5HunT53L9X3HdDQvBax/cJ6kvbG3BK09o99L33nW7aDEmUuXIaZcXIIp4vaTTt9SAet oKDA== 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=Jn4/LA7fxNt8iXGVssrYM+dajHtnWZvbUaOvrA1fJlQ=; b=WvdU6t8A9DnLGVQ1UXif/MUrLCnkk1nb69rR5P//4KPC6AEc7Wjj98tm/Yrpvs+Aau EinLem5nSFfszHJ/o6w57CEkZQocOWYKdocBY8ZKGTx2BctpZ3ic7xKruDLPYpVAS4Vf 1XN16yeAr8lywZUQummjIbgVAsnAvmvpI3AcbWN/yJOmoc2DIBf+GbFPEOdIz8NacIAs xy2wHVMtJXHm1Okb46CAKR5XL9jk8rXcfpHOmhybDrYVHiVoiG108Q2P9tz41gZzjE1F tVvYVg+ScT8rHMQonYy0NqT6nzapJc8YZbmEte/ji24FPnrsbyVAm1yV9Y1FfFY9tcLF pz/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Uherdjpe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j1-20020a170902da8100b0016cf1763090si6571329plx.241.2022.07.29.18.52.07; Fri, 29 Jul 2022 18:52:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Uherdjpe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239299AbiG3B1d (ORCPT + 99 others); Fri, 29 Jul 2022 21:27:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229599AbiG3B1b (ORCPT ); Fri, 29 Jul 2022 21:27:31 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1CC45D0C3 for ; Fri, 29 Jul 2022 18:27:30 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id e1so6185176pjl.1 for ; Fri, 29 Jul 2022 18:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Jn4/LA7fxNt8iXGVssrYM+dajHtnWZvbUaOvrA1fJlQ=; b=UherdjpeAiGSg3iy6gWENoRuu+eJVyt1yoSXDWVcALTCxNeCo9woucCva3GKjeCZGc 04mhRO9LuBK1m0Qur0gZE0zICckc0O0sVmn1pqdBybPI1oxHYTA42TYjTXAISgp4itEY 8A3JXLb9igc9E/SfMD8ZGmzbjDL23OXQU5ms7CFqSsSqjvTK9KatpPkrnpD0S6DvK6Je qFg6iRtDxeTHR9yxylPrOh/Y9iE1HJpdU4TtQs/Fttyxq6c70qlIDUkBgoiyD57iBtlI BYZGksjyQV0LW7yP6iHYnEC9qkifgGQDYZ4bE3o6fqx5IJvVvs7f2rmDM7NKdpK5uTMw wE1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Jn4/LA7fxNt8iXGVssrYM+dajHtnWZvbUaOvrA1fJlQ=; b=G+W5k7ESnGBXZumIqJPlngYn/+R1PGLYTphEbR6CmHmIMIa+26zHADe9X9mo4KbmC3 h8f35hLPmz70SYTlcMO/kt/2UT1kYLko0ulxt8ZVj7+QwePQdR5wn9STcDNWww96VqNt UGb6zyXNBhQRtmO75lmgUSC3aq9Be6qIDH9faJEUX14G6x/dqybCirocAU4MzmwIGcxK jruaC+ZyZbBck4sTstIN/kjE9NtBKEIXgn99EfuKiWhYZcVvvoCtxAtfUiGoMWZNzCvX ANZ0+gdTlqVQJgT7Y4uKax4RIE+C1qAQJW2PjPvXPH5jkcCu/8fiVWDLjdQplgV6sseq TIRA== X-Gm-Message-State: ACgBeo00OR9YT15HXyWFcCT9iwmuNX8S9C2R0Uluv8/9LvA3oOkL9oag D+zmIqEBCiI9Ci5oG4Lq2Bw= X-Received: by 2002:a17:90b:3c4a:b0:1f2:205d:dbac with SMTP id pm10-20020a17090b3c4a00b001f2205ddbacmr7012517pjb.110.1659144450067; Fri, 29 Jul 2022 18:27:30 -0700 (PDT) Received: from localhost.localdomain ([175.195.128.78]) by smtp.gmail.com with ESMTPSA id m9-20020a17090a414900b001f251948ad6sm6518255pjg.35.2022.07.29.18.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jul 2022 18:27:29 -0700 (PDT) From: Sidong Yang To: Greg Kroah-Hartman , Paulo Miguel Almeida Cc: Sidong Yang , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] staging: pi433: fix wrong debug message on rf69_write_fifo() Date: Sat, 30 Jul 2022 02:27:24 +0100 Message-Id: <20220730012724.1138-1-realwakka@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The debug message should describe error when user calls rf69_write_fifo() not rf69_write_fifo(). Signed-off-by: Sidong Yang --- drivers/staging/pi433/rf69.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/pi433/rf69.c b/drivers/staging/pi433/rf69.c index 659c8c1b38fd..8c7fab6a46bb 100644 --- a/drivers/staging/pi433/rf69.c +++ b/drivers/staging/pi433/rf69.c @@ -816,7 +816,7 @@ int rf69_write_fifo(struct spi_device *spi, u8 *buffer, unsigned int size) if (size > FIFO_SIZE) { dev_dbg(&spi->dev, - "read fifo: passed in buffer bigger then internal buffer\n"); + "write fifo: passed in buffer bigger then internal buffer\n"); return -EMSGSIZE; } -- 2.30.2