Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5363470ybl; Tue, 27 Aug 2019 03:34:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqyRnSk6ZhlONt+RRx/R2AIn7Rg1FBxrzHmXcg9JWJRSuWx6+GghUNhBZvWeUjOkvRrBwJOf X-Received: by 2002:a17:902:61:: with SMTP id 88mr23732228pla.111.1566902067674; Tue, 27 Aug 2019 03:34:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566902067; cv=none; d=google.com; s=arc-20160816; b=Y6tnhCQRNnBtOnaaSWbbYgYFujor4VOqKeHzuoLI561ykMSRw9TA6JbqhcBOmgHqAI suFw2TGUSicCxEBwkDsbxdUJIUfgU+m5lRBlYLUQkeH/x0s59+8dChlPZ5BSmfYFXZpP 2/6LmBP28s6W8BFgIJOCD/qKfj/Us6SthIXPhz1No5EFwnglZhp2VvFo5s4XyKkKj0MU c/tJrO+UPPU4QBLI0Iq+0jAteyGEIkO7tc/eokgc4eKRf+uN+/pTSwsP5m6i/7nYXXXp hFgK8pf+LtCjK9nwP+DMUHNLVzg5CNcF3wQKLoUZyLC2azRcS1vkvSeGGKlLiufGs+5h Oxag== 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; bh=oGYQP2VZn2SCFbDq3nx+ZjXzvwaVi7rnVe0kqrcJ4sk=; b=xWMaoh15jFOq3tPmEYbfKLlu6RzzrzFWvBDHNejYW29NmncN5S2f/xayNsAt9rUh7a aoOvnAQUGO2fmT6mBs+HIH+RXlkqstoY1SmUOnGu5WQsGAjIktiUL92xWPz7SClwiGUN Tz3RDfnY3cQ2Zv9llNAVggOozjdX46escO2pljgvK3rLEgyoHshZVR9XuS0TJb53PpUL SlLkB3709FN7uWqXl8Pnyhr2XBnWS2r9xW1OKbpKRQI5ckuIkI09D9GnpLoxbUpaiwSy YDQVP4/EEUi/NnHoZdRdWLeOtn0kKrVN8/HU+elGeebUDTsCyf1PdNTYbkrfrXJaMkKv hGiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=iN4b2rHo; 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=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si12166636plb.215.2019.08.27.03.34.11; Tue, 27 Aug 2019 03:34:27 -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=@oracle.com header.s=corp-2019-08-05 header.b=iN4b2rHo; 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=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727086AbfH0Kbz (ORCPT + 99 others); Tue, 27 Aug 2019 06:31:55 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:33698 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726190AbfH0Kbz (ORCPT ); Tue, 27 Aug 2019 06:31:55 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7RAT0RO058815; Tue, 27 Aug 2019 10:31:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2019-08-05; bh=oGYQP2VZn2SCFbDq3nx+ZjXzvwaVi7rnVe0kqrcJ4sk=; b=iN4b2rHoaX1ztLEVaoimZsIur8Dp1y0OTBD3QFj9cnzn8UxR4zuXHtm4RJ7fBz2ICt71 N2fbBE1n3y5cHk+B0W7YFO3Bk9xLEc9WkTLNfgLSo/RrPrzCwpb8VQC3vvcGJzSE/VHX Ii9mbL1zzJ4L0otEMxs54yVhJIUCYqID0nE4AXbgC8ddoDe6nuy73iSRpCabWVXNZ4lA 9+HYR0/nB0B+bPtAkMv71HJIIWZKCFjhW6QcnpM7UwV8A8arQ2LnAH9Z2ymrVoYtnxRH 2a11nN6OClPOD29sXdS5YoBEQW0KSFKv4rxfmpkPpqJfn1qPfcS/wTyhUbfbjkLH7uP9 RA== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 2un2570914-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 27 Aug 2019 10:31:45 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7RASxEN027397; Tue, 27 Aug 2019 10:31:45 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 2umhu8jwua-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 27 Aug 2019 10:31:45 +0000 Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x7RAVgcP005510; Tue, 27 Aug 2019 10:31:43 GMT Received: from kadam (/41.57.98.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 27 Aug 2019 03:31:41 -0700 Date: Tue, 27 Aug 2019 13:31:34 +0300 From: Dan Carpenter To: Ivan Safonov Cc: Larry Finger , devel@driverdev.osuosl.org, Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , Sanjana Sanikommu , Vatsala Narang , Colin Ian King Subject: Re: [PATCH] r8188eu: use skb_put_data instead of skb_put/memcpy pair Message-ID: <20190827103134.GC23584@kadam> References: <4c9e1e66-5ffc-c04b-9ea8-39cec5fd9b2a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4c9e1e66-5ffc-c04b-9ea8-39cec5fd9b2a@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9361 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908270119 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9361 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908270119 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. regards, dan carpenter