Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp346732imn; Fri, 29 Jul 2022 08:38:28 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tsGNvU9v76aAcp8rUJMmx27uVD927T0TzMZd508sNAvrRcEFHQeri4butyntubyHMaGlqB X-Received: by 2002:a05:6402:2804:b0:439:83c2:8be2 with SMTP id h4-20020a056402280400b0043983c28be2mr4251308ede.292.1659109108574; Fri, 29 Jul 2022 08:38:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659109108; cv=none; d=google.com; s=arc-20160816; b=EEKvi3rTarPdDzjY3AMgWUsnN2BdbB9nZMGfZj6mJwMojgwgWEGD89IGl8/8DUPWxl mI3Nfn24H5So0ePHW75HZG2APN/Et1hdUuKuznRvBgENBE9tJPZI1IBvh4omUTWZBovx bbac2t4uyOrtrgD1/BQXK7WYAxNnPGa4PVUyxNNBoVDd8l5TYfXOproS9DECk7bqX8T0 oM5tXcJ6goxunOEFlcU63K8HMzoBZmz55x3mh6WnT9LeWAReMOTnc8l6mCxxJsyv3+3a Q7qgAToWMzw+y2tNms//mDOKUT6zrYUFNekXM2+82pC3opH2Nj3fvKMN9oCKs1VAade8 tjFA== 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=pzNLfrCl5rV2i8rqnbdT3o4k9KbeFkIr7Ha5/Z3Q21I=; b=IOgrkZjteLZWQm+TBlFFXOsu19FEZxi4s9jVwjeDBxuHogB6LKNJW6VNFfYJ4AVv+R mU25s7to4J+oxywv026GOe02bR4WbEbb2Xo/UfCeXxkF1PEuFOSVtgl3rvKE6YvMrGDe A2/+DmbNnTCmMkbYzTr8GJ90aeVWKBdy5xb0TqN3CyliozcIwaZlwAoHZ6+IyNPcRrGZ +H5twwmBVnopS+V7EZULNc8fpFNmbwzEgbcwHGJOMNcP/9Ovr6b3MlBjlPxDoConEGp3 UHaMBG3HkIvOYHwcKIx6hfCDTTmhNBkLh8nLDp+YCCzFiS2MCNdEHQwG5E+TXkiJu2dJ N6FA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZaSF+z1S; 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 v1-20020a056402348100b0043be308c841si2510007edc.251.2022.07.29.08.38.03; Fri, 29 Jul 2022 08:38:28 -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=ZaSF+z1S; 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 S237231AbiG2P0D (ORCPT + 99 others); Fri, 29 Jul 2022 11:26:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237297AbiG2P0B (ORCPT ); Fri, 29 Jul 2022 11:26:01 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92B832BD0 for ; Fri, 29 Jul 2022 08:26:00 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id b133so4920247pfb.6 for ; Fri, 29 Jul 2022 08:26:00 -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=pzNLfrCl5rV2i8rqnbdT3o4k9KbeFkIr7Ha5/Z3Q21I=; b=ZaSF+z1STM3QtulM2VIw49uRISrGK4kI0+fjdp4uH7FwKvDULDg3GpCTnudDHUhdkc 9A6/AZGT7OlMkWG4j0gdMFN3upPLKG/WGvstnfrlPCJd4nlkf/3BLfTtIvhkzmfcaQcr /7H3Gsur6TZs+3rZP1lkUi6gDyTdVZsPSSY70/+l5SutbG+veUrBJnxMiIA4uq9p5Bkm cYDxa27Rd/jnoB+Iqo+Rd5AuS3mK1ArUTtbQWDM7Wo0cT5XJfT4ERwdWpuOtGkEuY4Kg nkM28uMWOocM1evlAs8Zcc6rrkz2+cJlF12UWgSbSGFpHlM3f9HcEczGSzd7/huGXhGL nDvg== 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=pzNLfrCl5rV2i8rqnbdT3o4k9KbeFkIr7Ha5/Z3Q21I=; b=397YWciQEbpoaIu3r0OEIf0S66YstKOg6ZQckeXuUTyiYVrLaTCQeTVgFzJXcW+1/d a+WYAwdKvJQL3MPvtXMvCOa9lwwfkfGEz6dH6tWxGZiRLh5dn8PU0HRvlU7lM0gGw8td bg+PVW/MtvrYIaoeotOUV2pfdrRu79H7zKmg/GZ4PCE7+xBqFB4OoOHlJcxhAIdT4Naa H13uor6o8JsrxHBJG4Wa/nug5aZ0DEbY4C6hDS0Rx8LKuBi/65lJ+Sh020fm2ahFGT8u HG7Ax6p8ZGupM3h/Ft8LdwnrMi4gDGm/KjwmtOi7/mr9IJRKdJETBNVSv++2HLSm/+xK a0hg== X-Gm-Message-State: AJIora/UHtThZkfzcvAeONon9WzE6PRupzgvzJ3quOUgxLv8OjO+VerO vGTaBY8ycv0Q1qsJtqF492rmd7XocawpDA== X-Received: by 2002:a63:d90b:0:b0:41a:ff05:4808 with SMTP id r11-20020a63d90b000000b0041aff054808mr3395244pgg.159.1659108359911; Fri, 29 Jul 2022 08:25:59 -0700 (PDT) Received: from localhost.localdomain ([175.195.128.78]) by smtp.gmail.com with ESMTPSA id b1-20020a170903228100b0016c06a10861sm3804779plh.74.2022.07.29.08.25.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jul 2022 08:25:59 -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 comment Date: Fri, 29 Jul 2022 16:25:54 +0100 Message-Id: <20220729152554.8211-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 comment should describe the 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