Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1802784rwn; Fri, 16 Sep 2022 00:35:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7piGdHMnYTtjgdyf8Vz3GprJ1Np/5zAxgVitrU3KN/c7ICda8C1GnfR07aEUvaGR/NYVQB X-Received: by 2002:a05:6402:350a:b0:44e:9da7:2afb with SMTP id b10-20020a056402350a00b0044e9da72afbmr2956466edd.290.1663313736726; Fri, 16 Sep 2022 00:35:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663313736; cv=none; d=google.com; s=arc-20160816; b=ToAog2oZnAJLRsIQDlT4+koonTVps+ZezsvnbM6PbAMjB7jVFlpFCLNirSzmM6nLuR OhS4UnfsgQbpKcBvL+Ux5bAjLvtUId3JKDqbaUgY+k9d7laOSt6GsZD5HsUgW3TYtmXK FQBId+NIrUr8z+CKGCDgrVlrguUqXoVVWhWa2dFJB7vZOcMvcfw0eHzBWnqBYmMJiYfA +fNPnF81i4vo0GrehZjpHeu//QSpgw047qjpPVKqENj2qoFOvgvGQmAArH8tQCuiqX3P YpmwEBxInysNMbJHj0O28A+wTQoygF4njqwYVwBTsXy/NGjEYcfwqYSatThdiRlPZSnD o74g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DE2ZdUL2HYhPOqvwzzPmLYQHO8bsfIjtF25iTHmhmzI=; b=W0OEmNa2uF87El0IsJD2nVpGuh+WDbJVcZqAyCmfBH67lFfhHQRyC3EH4L68IzLqj7 7VmPfsCgM2mlgXmBL0s1yfvphC8OyP0aVt6yiEt8GrhCVcQQ+sSUq7JMseR4U1XxfkH7 3B4xBSQNCiy7pyDAbrZDav91Zq/ppT1UibOslxsvElkfR4kZ8PhkKBocZsiqtKOMiHyD QvWchoF+dv9ZfH+6StX8Zk/85WntVPrXRad47aRFPBnjwsgLkV13SAAzNhjDgigtf8LI PBFZ6i7SGaSwfemL7QPmrwWYpQjyC2JU3t0xfGHHRlaNOLT4tjMzjNaIZTTlqclcrAUC O2Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=KrbJtjgM; 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 s17-20020a056402521100b0044eebca511fsi2038949edd.109.2022.09.16.00.35.10; Fri, 16 Sep 2022 00:35:36 -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=KrbJtjgM; 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 S229895AbiIPHMN (ORCPT + 99 others); Fri, 16 Sep 2022 03:12:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiIPHML (ORCPT ); Fri, 16 Sep 2022 03:12:11 -0400 Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24BE13FA11 for ; Fri, 16 Sep 2022 00:12:10 -0700 (PDT) Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-333a4a5d495so248932437b3.10 for ; Fri, 16 Sep 2022 00:12:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=DE2ZdUL2HYhPOqvwzzPmLYQHO8bsfIjtF25iTHmhmzI=; b=KrbJtjgM5xbKvqJfC2o989PdTQXSpiSqy2SKQ/metYG2t/49AANGiRKkiNwqu720vS CqctyZuZlgH33AT2AMOAPRf2ltzR/iZDNIBPB78Gu99f8OJLK8ARxlsqVyL0WyXLedxy UEE3Xm0iM3dT++9xmZOwI7mqItq8Lb6E2nMijcDIaTw5k9JLVABEZYcZMGY+V12T/Ijx c8mT3uvnMmr/YMFt0Xe4qgtE7tjQw5KA5OfpDuYdqGZnLCBr/voNtUr/wttl7zuL1LBk H/c45izjZe7osBitG2Nx4pl/AVEMr7iwRA8LszzjTlZpSkCMeNS195FHqT74A3HH4Ni3 c+cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=DE2ZdUL2HYhPOqvwzzPmLYQHO8bsfIjtF25iTHmhmzI=; b=LaanS5TO08Wqq/ThXk+W+dLuv3sDQHVyMwisxlpGUHSrW7+EYwnrrUMOkrBMQbC+pr k8n5E+Rtm7ZxoYjLqeZ7pma6Y1IUViOhDa1dKj2TxshmI+/kCU6iHSx92JQTdWdhL6FK Xqh3n+wl/3eFNvQwe7VuY+Z5/6BGs9DcqyzuYUjarKi9Sc0cDkP81MY+Hm9UZPsvoQOX zdKaxSMkcQCmq2vCQ/aqOuPQ+M+AzcKuWMjLx3w5ahwxuw5UJnVZXW6J5b2SCBbIFl+G yqjb4ddyjyW0N/O5B/Ra8SUAJUFxEzm56eARgVEQ67rfFrs8KHwZAElzuVUC00cbDmY/ JWoA== X-Gm-Message-State: ACrzQf3MKn+j3Qs/WcFns2hDjEZaGLzcvQnK3zvkqG/N8OKh0RFBF1bo SAgpaQRi4D1yVwQtmUEnns8JEo4Y4IMZs0Oi/KY= X-Received: by 2002:a0d:f445:0:b0:345:89a2:9a8d with SMTP id d66-20020a0df445000000b0034589a29a8dmr3264191ywf.107.1663312329210; Fri, 16 Sep 2022 00:12:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Nam Cao Date: Fri, 16 Sep 2022 09:11:58 +0200 Message-ID: Subject: Re: [RFC PATCH 0/5] staging: vt6655: Implement allocation failure handling To: Philipp Hortmann Cc: forest@alittletooquiet.net, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Content-Type: text/plain; charset="UTF-8" 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 On Thu, Sep 15, 2022 at 10:58 PM Philipp Hortmann wrote: > > On 9/15/22 22:29, Nam Cao wrote: > > This driver does not handle allocation failure when receiving data very well. > > This patchset implements better handling in the case of allocation failure. > > > > Nam Cao (5): > > staging: vt6655: remove redundant if condition > > staging: vt6655: change vnt_receive_frame return type to void > > staging: vt6655: split device_alloc_rx_buf > > staging: vt6655: change device_alloc_rx_buf's argument > > staging: vt6655: implement allocation failure handling > > > > drivers/staging/vt6655/device_main.c | 41 ++++++++++++++++++---------- > > drivers/staging/vt6655/dpc.c | 8 +++--- > > drivers/staging/vt6655/dpc.h | 2 +- > > 3 files changed, 31 insertions(+), 20 deletions(-) > > > > Tested-by: Philipp Hortmann Thank you, I really appreciate your help. > > > Find in this email a comment from Greg about RFC: > https://lore.kernel.org/linux-gpio/YwS4WDekXM3UQ7Yo@kroah.com/ > This patch is marked as "RFC" but I don't see any questions that you > have here. Please resolve anything you think needs to be handled and > submit a "this series is ok to be merged" version. > > May be this is applicable to this patch as well. I add the RFC tag to "tells maintainers should review your patch thoroughly, and provide feedback. RFC is typically used when sending feature patches for the first time, or anytime the patch is more than just a simple bug fix." (from https://kernelnewbies.org/PatchTipsAndTricks). I was not aware that this tag may be interpreted differently. I can send a new patchset if necessary. Best regards, Nam