Received: by 10.192.165.148 with SMTP id m20csp2554013imm; Thu, 26 Apr 2018 13:02:37 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoZ6VMcm/ssvrGv6MIaHqNcnFm0Q/2JW/eFN8mtT9bBLh7zQnAJUWqIX0kBfmGJSjjwXifC X-Received: by 10.98.133.154 with SMTP id m26mr6678038pfk.247.1524772957364; Thu, 26 Apr 2018 13:02:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524772957; cv=none; d=google.com; s=arc-20160816; b=pzhkjKkS88Ppq5jV2iJJ9t/0rUYoA2vTYDrJpyqdx9fNgukM51dDBg3aueqUM48fRt sA1xEsaE9mrejCHxVNr2APsECVf6A2oIA3e9+nBXGl1VoeZohRf1wXzOgZxJ+22K/dcu 4Pg4GcnqxIrqzVExl0o58FwQL43BxfZbBaRWtRKbLL0lRgqAtceRr08WYAUkQvsPTKp4 Ea2hbizpf5tdYrIKEdutWtrkBao4KAD5SM8M6SK0KH7vDrobhzSQB+oW1rMEybjSCF6I bcdiH0EHStjtLKv2zoOyxZrZW38qLztJmis4e1tY8/iuaKtjUR4i9A5vrVJl7BMDJK61 hbiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=oxSpCgEpXnmx0M9m/ydltxSJ2dBr4CwTSo7GrLOy/Sg=; b=W46Xs6OPwSegyOCvsNo5xYXeLv265gpnQApuwl7lwSwx3FM+4EugAb+X4lWmArIm1+ 1BrVWLMpkBvp7b44Wm2wCoKMfN8dyR6SuARp/nhHrqQw+m1vpDHb2Fw19zuNdQBqXBfH DFCvRl0M+8gQdBcnWXxTxJ3X/QJ2TcXxXJwK8ZelKK95p7O3jtpWSZtoTNqV5UTEF8Mb mr7MmKoCo8Bqixl8wdJp78cNGZwjxJ1umfwCouGXHolMuD5n1MUVXsYsg3vWk9Zpu17V vI4zhqQKi8NARrKFCHZsnY7S5xPph7IdoYRoMPtxJpsngGD32R7KumIwAMpXkVNXTrYE uF2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=er0XY+mF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m198si15878918pga.107.2018.04.26.13.02.08; Thu, 26 Apr 2018 13:02:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=er0XY+mF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1756717AbeDZUAQ (ORCPT + 99 others); Thu, 26 Apr 2018 16:00:16 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:39211 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753973AbeDZUAN (ORCPT ); Thu, 26 Apr 2018 16:00:13 -0400 Received: by mail-wm0-f43.google.com with SMTP id b21so15491319wme.4 for ; Thu, 26 Apr 2018 13:00:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=oxSpCgEpXnmx0M9m/ydltxSJ2dBr4CwTSo7GrLOy/Sg=; b=er0XY+mFVrY5U0Mtz4UxHjTTMuAkhhVEPZP5moWhU9tUigpg/z95gjQMVQqm1GWt/s 4PZfnifaHcsZYxPWL193u7R4N896IeHtEvofeUlRAWuTHKrihRcZb4RKt0ll2Pkoy2GV lWHONTFiJDQ8bafKXBaYg36jrX3MB/oFDvsJSqnm+56vtlNpQKOVmmphI/bdKArzAJD3 ZdDBLbNJv7VmOq9G6euUC83mQ7uHPkOsPOzw+Iqbpnh6BXe237k6kc3TeWyqpEyNhUbn WbSD3oiupixGJJVIw9v+anLAbISbhI5zY5rwErd+7lR1w51m/Jkch2wwxAmnO6bkPP9/ DBxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=oxSpCgEpXnmx0M9m/ydltxSJ2dBr4CwTSo7GrLOy/Sg=; b=UqgoxzvCYyrmh+BJjpI/QSeDA2AU45C1Ko/hJj+a9U6xkINTECw2kDNwexaovQ+D8l mIY2pCssy1mkrIHFb7oK8ReR0qQsASATLli25zFXfvz+N/1UUl+JygsfIMXPUZhQmKKR 4u0lYSNuguqXXloVYeQjw66GFgPHA7V0v2dAZr+m8BYx1hpjKxMEcGYvq9yuu3OQ2tU+ 4RiRC8IbGXIVSPwsGvpiFMkjeOfdGE/3nOpsqspfHjI02F80B7QNbSFyXx/12OtnCBz4 yP9hZ/5/GMxaTDoCqOmHvfE9s7PpkyZ6/CNVlxVc3oZwSQDsJYkq/vy6WkihJB5vxJD8 muTw== X-Gm-Message-State: ALQs6tCOCs5ivKqMV0FScxT0WpSCwK6g4eAdJUw4XfSqW5BURecWSgYr /dxRWBrrt3m/Oqvy25fG97o= X-Received: by 10.80.244.181 with SMTP id s50mr45908426edm.262.1524772812736; Thu, 26 Apr 2018 13:00:12 -0700 (PDT) Received: from ltop.local ([2a02:a03f:40e7:cd00:c47a:3b0c:1c8:90dc]) by smtp.gmail.com with ESMTPSA id x29sm12876403edm.26.2018.04.26.13.00.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Apr 2018 13:00:12 -0700 (PDT) Date: Thu, 26 Apr 2018 22:00:10 +0200 From: Luc Van Oostenryck To: Janusz Lisiecki Cc: linux-kernel@vger.kernel.org, Sergio Paracuellos Subject: Re: [PATCH] staging: ks7010: fix ks_wlan_start_xmit()'s return type Message-ID: <20180426200009.lpfmn47d6hz75w6b@ltop.local> References: <20180424131824.5164-1-luc.vanoostenryck@gmail.com> <2203ebe4-63c2-3728-50fa-a30b195d1508@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2203ebe4-63c2-3728-50fa-a30b195d1508@gmail.com> User-Agent: NeoMutt/20180323 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 25, 2018 at 06:44:38PM +0200, Janusz Lisiecki wrote: > Maybe inside ks_wlan_start_xmit, instead of "return 0;", there should be > "return NETDEV_TX_OK;" and "return NETDEV_TX_BUSY;" otherwise. It is just > suggestion. I see, yes. However, since: 1) this sort of change is really outside the goal of this patch; 2) more change are needed for returning NETDEV_TX_BUSY (most not free the skb, probably should stop the queue/device, ...); 3) the driver is actively improving by someone just now (Sergio); I prefer to let this change to Sergio. I'll resend my (unimportant) change in a few weeks (if still needed). Cheers, -- Luc