Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2230321ybl; Sat, 31 Aug 2019 10:29:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPRQbn/HWmDg6uj6bxAr23ruf7D1k0bTeOlahpLSjEEon4Jtn185wN3RBSfT7XAZtahihW X-Received: by 2002:aa7:8a13:: with SMTP id m19mr2266740pfa.228.1567272555281; Sat, 31 Aug 2019 10:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567272555; cv=none; d=google.com; s=arc-20160816; b=C93cDu0xtknlaVvn+5bPVZ58+WgiFvtI9tIVL8H9Q1Dg0BkUk5Y2b4bpNXgOrOUeds yiFacAe5MzDonbyhhtF4XH+QL9QRIZd0OqvY5XHB4hC5pvjsZxqH2a60r8ccX4eN7mV4 5yuP3VxRsfh5nmrSiE+qTLsUi6u+t802qPtuWmQK1kFNh1SvV8d3dcT/ywncAyhaM4nr 7u7RgupBkiz9tz4rjply8ksKrtCC0+vQ5orC58xfPoN6oGGnaoOOhrjCKStEhQsUDXJj EoTlb/QjTPHjvtAKDucP6/+CgfmMTSIt2wir57Ohtnr7sfNNqgvOg0BPFw5X0xGcbkeS yZOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=rJkDLV4v1T0ZlJal69EutIWWJNaMipXTowQmmuZqIEw=; b=ahJpQ4FsiQswHIqyGZaGMb5V5VRBXZePrqk+ff2ilVqInf8+1ePJNioDmiiEyLtUvM N0KJEb5euGIw2w3VtHLkaeE3EaWlXzfEgbPwgrSF5cDG7nqDgLa3/F56sd7wwOqL3Rmb B9IicieDeVukQsjXIJyjbC+PcwpqVma00fjFsEN0ml0Vx/V4HXBbHToYLqivu5WfT2TS oHPnFTFOvCvebFpthUZIUBRq28maZqC3bIPo5Z/DRNEDo9Hl764G7jpI7TYuu3FZsaIv rwyv8VQqUufRYCqum8JkOrffJC2nwuSFwimjLIVTBvsI25557/NXqOhue9l9z76rz3Dl /f6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bijyrtLz; 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 g5si8175572pjp.10.2019.08.31.10.29.00; Sat, 31 Aug 2019 10:29:15 -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=bijyrtLz; 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 S1728436AbfHaR04 (ORCPT + 99 others); Sat, 31 Aug 2019 13:26:56 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:41240 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728274AbfHaR04 (ORCPT ); Sat, 31 Aug 2019 13:26:56 -0400 Received: by mail-lj1-f194.google.com with SMTP id m24so9257117ljg.8 for ; Sat, 31 Aug 2019 10:26:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=rJkDLV4v1T0ZlJal69EutIWWJNaMipXTowQmmuZqIEw=; b=bijyrtLzJMpDV/QfoymnOP7MyNktKJQSo0LllG+wfXTIAZdYy44HJ1WbD2jhMHB7nC +pA0onOjlhFVSeRhEPyqgH3K+3JnKD10bNr084nZ0HomqzcBmA9X6OcTmJFv+6UF2Sxv QDLFjGy3jDzovxdewJh5aEwqDWV7ijBM4aiIHcJOYV5uojWJrau4PgcT9tOiaRW++VnN jVvQh5Nw9YCu1D9iczWKua6YZ5o/Qp8P+bTWRjwZs4zJUBsGvXWyD/JfVLd60J2YZhdM h+Yzmmbr5AZYJtgGXcab7pOY5HmsCj7YNXBaCT7AKoNZ1Z6rejRaxeB+mD+nO5/nuORl IWyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=rJkDLV4v1T0ZlJal69EutIWWJNaMipXTowQmmuZqIEw=; b=cNOG6yXbN3YWP6dudGJy8T4TMCBJyzExECuwbGxaChigTXFgu3KXOTWbfPFyq2QECC LWZ3v5IJaQ0etXTOxqxoMjiE4OeyXrkEHOGkI9XhlAbVLvI+quWN7giqL0ebm6gBPOw6 ja079gWTakbImXmQkKtymPMY7YR+FTpZ+A/zUxG5qzLmhN69hCQ2RAyPPk6bfT2GdAGy 2R/OqFX0+odmdYsm5T7kk9+RtpLmJyyXR+lPc1CDZYDh0/9vkS8IUanNKR6JGtGvTGvD wY1udMe2bbIwzPlh0TYHAYCYzwX9FGaudwN1Uc4TrReR6OksriQMTOSFNFr3Cyjw4M8I 9Vww== X-Gm-Message-State: APjAAAXpMi6o4rnBDwj7l+j0YO2u2YQ80/6f9nZ+qlwuzUxM1q40V+N7 UHeIRzDozxntaOPPBq1xZQs= X-Received: by 2002:a2e:88c7:: with SMTP id a7mr12143536ljk.72.1567272414022; Sat, 31 Aug 2019 10:26:54 -0700 (PDT) Received: from [192.168.0.160] (ppp89-110-19-106.pppoe.avangarddsl.ru. [89.110.19.106]) by smtp.gmail.com with ESMTPSA id p10sm1016775lji.71.2019.08.31.10.26.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 31 Aug 2019 10:26:53 -0700 (PDT) Subject: Re: [PATCH] r8188eu: use skb_put_data instead of skb_put/memcpy pair To: Dan Carpenter Cc: Larry Finger , devel@driverdev.osuosl.org, Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , Sanjana Sanikommu , Vatsala Narang , Colin Ian King References: <4c9e1e66-5ffc-c04b-9ea8-39cec5fd9b2a@gmail.com> <20190827103134.GC23584@kadam> From: Ivan Safonov Message-ID: <33548df8-6eb3-0ce6-d37e-1b4b79b0dcfc@gmail.com> Date: Sat, 31 Aug 2019 20:30:16 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20190827103134.GC23584@kadam> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/27/19 1:31 PM, Dan Carpenter wrote: > On Sun, Aug 25, 2019 at 11:48:58PM +0300, Ivan Safonov wrote: >> skb_put_data is shorter and clear. >> > > Please don't start the commit message in the middle of a sentence. It > often gets split from the start of the sentence. See how it looks here. > https://marc.info/?l=linux-driver-devel&m=156676594611401&w=2 > > >> Signed-off-by: Ivan Safonov >> --- >> drivers/staging/rtl8188eu/core/rtw_recv.c | 6 +----- >> drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 3 +-- >> 2 files changed, 2 insertions(+), 7 deletions(-) >> >> diff --git a/drivers/staging/rtl8188eu/core/rtw_recv.c >> b/drivers/staging/rtl8188eu/core/rtw_recv.c >> index 620da6c003d8..d4278361e002 100644 >> --- a/drivers/staging/rtl8188eu/core/rtw_recv.c >> +++ b/drivers/staging/rtl8188eu/core/rtw_recv.c >> @@ -1373,11 +1373,7 @@ static struct recv_frame *recvframe_defrag(struct >> adapter *adapter, >> /* append to first fragment frame's tail (if privacy frame, >> pull the ICV) */ >> skb_trim(prframe->pkt, prframe->pkt->len - >> prframe->attrib.icv_len); > > > Your email client corrupted the patch so it can't be applied. Thanks, Dan. > > regards, > dan carpenter >