Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3923142pxf; Mon, 22 Mar 2021 20:19:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTAQssTbTMwIz6DbTGDqz9SQaxB0RSA727j+MOUEk5hVDb2UKu8yAe9p4s96xjN3/61vL7 X-Received: by 2002:a17:906:52d0:: with SMTP id w16mr2770748ejn.172.1616469583661; Mon, 22 Mar 2021 20:19:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616469583; cv=none; d=google.com; s=arc-20160816; b=YuNQe7t48yJL2m3qN/K5Av3211A2/JpvgiUOMDAvxS3XoBT2ABKOwZK9SD9U+ins7T 2bkXZhupcQcPzat9vPU7ofE9AIEvAVeUOAdFDRSLQLVXK4t3HwTZCiMU4sG+4p6S6Opy W6BCZiGtnGVyrI4MLgy6qYOHLTma4Oc+xwwYszlDzQGoFCWyxdEulgjwhZgytqbXx78p w/B8yESmaNlD5BmGgWN8BTGgCsxeOfwxYJYa8a7FGBdmWnYdaDdPIZvia5RYz9tQubc8 xQFmXfYjP+LxH5wuT/3VQ7p/eDfy19tqQaRsiNdDzAPTq9V393fvf7/BxGnERaEE4Lnh J+kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:content-language :thread-index:content-transfer-encoding:mime-version:message-id:date :subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=PfIewouVH2Ir+58txrjoFu9xSKAXnOYq8B7QFAr/zSc=; b=qX76LRCuBUWJsD/21rYxHqAtWVt08dUqUG+8tP7AV5I+7uucUDuLqc0TLp/Kij1ufN YZ7m95SgsKNNsT4Oc8BBM6m14kctFyFaOSSsJprEBxQX95THjy/9zM5XObXFcthDAbly PPO2/jojNCUIb87YIrjV/lL/Er7cy+XxJXdRsy+Nzr5ijZ3QE1gXNiBePI609tcvFRat nXChSv9wGrD3vVp3QFhgFCwgfeI6alR8mEp65T/wrHgiJvjxh1QLrKJ7MVBjSKV+zUQD 8dKGYUilFS80DWAbYRYbelJ1v2Er7TjpEFVlXlfxPjVz45WRJFtQ8MJBj9zkyLcHBzf0 GrKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=IWcPWQCe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o9si12748065edc.244.2021.03.22.20.19.21; Mon, 22 Mar 2021 20:19:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=IWcPWQCe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230001AbhCWDQZ (ORCPT + 99 others); Mon, 22 Mar 2021 23:16:25 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:60009 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229951AbhCWDQG (ORCPT ); Mon, 22 Mar 2021 23:16:06 -0400 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20210323031604epoutp01d453b16db8ef8bfdcf1ed876daf6a309~u2lJ6B-vJ2275122751epoutp01Q for ; Tue, 23 Mar 2021 03:16:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20210323031604epoutp01d453b16db8ef8bfdcf1ed876daf6a309~u2lJ6B-vJ2275122751epoutp01Q DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1616469364; bh=PfIewouVH2Ir+58txrjoFu9xSKAXnOYq8B7QFAr/zSc=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=IWcPWQCeyFfroT539q/egcrwFCXH3+bxEDcknTNiPWJOdxpVd59jl7dEQe/Km2t2h 7vWJMl8Jv0JMbjKnWvXEL+EH8zm1/wTk+tKUFseGYRZrGqa8Fxn+gqFdgiZOJ4z+hw k+ObvwUGQhLAi6b6fNgM9c+Q3c7P7B67ucGeA5GU= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20210323031603epcas1p14af7d0fd77eb3705c18dea20a9f21535~u2lJBQ2L-2643826438epcas1p1b; Tue, 23 Mar 2021 03:16:03 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.40.162]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4F4GjG0q0lz4x9Q8; Tue, 23 Mar 2021 03:16:02 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id BB.79.22618.17D59506; Tue, 23 Mar 2021 12:16:01 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20210323031600epcas1p4f611d0e4ebee1a9bb6a07356f0f232fd~u2lHAtkK32263122631epcas1p4F; Tue, 23 Mar 2021 03:16:00 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20210323031600epsmtrp28325c8cc037f775be1c98769a8b20e56~u2lG-gzRO2219922199epsmtrp2Q; Tue, 23 Mar 2021 03:16:00 +0000 (GMT) X-AuditID: b6c32a38-e4dff7000001585a-83-60595d713a7a Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 10.66.13470.07D59506; Tue, 23 Mar 2021 12:16:00 +0900 (KST) Received: from namjaejeon01 (unknown [10.88.104.63]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20210323031600epsmtip2fd9bc04f1ff2bfb158bae1d4f8cfbd76~u2lGvHL-71604416044epsmtip2R; Tue, 23 Mar 2021 03:16:00 +0000 (GMT) From: "Namjae Jeon" To: "'Matthew Wilcox'" Cc: , , , , , , , , , , , , , , , , , "'Sergey Senozhatsky'" , "'Steve French'" In-Reply-To: <20210323031242.GA1719932@casper.infradead.org> Subject: RE: [PATCH 1/5] cifsd: add server handler and tranport layers Date: Tue, 23 Mar 2021 12:16:00 +0900 Message-ID: <00da01d71f92$d9c76a50$8d563ef0$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGKnGOaYF8FWW41Vo1OapoCvoUV0QMoPiJ6Am1CcOcBjsy+tgLfBwFHAYenNeWqzZTjcA== Content-Language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA02Te0xTVxzHdx+9bQm4a4FxxqLAzRyxsdhSiscJC3HO3WT7A+ZkyDSlwg10 lrbpLUMEs2p4DUGozsgKgrANHI/Baqc8RlA6ggwTpmMOcFMQ3HgMX6C8YW0vy/jv8/ud7/n+ zvecHAEmmiN8BWqtkTFoVRqKcMOv2LdKJIZDB+KkDRHwxFQPDrsml/lwsbaAgJMr53HYU1SJ wm9rO1F45/5jPhxbbcHg/OosAn9s68bhry2lBJz6w6ErOP2MB7P6xLD1+0oC1k+P8OE/Y3YC DprLCdi73MWDi3OlRIQXbTEVEHSJ6RZON1v+5NOXL4np1ovTKN06YCLorKZlPv304SBO274a RukG2284PW3dTFtHp9BI91hNWBKjSmAM/ow2Xpeg1iaGU+/tU76tVIRKZRLZTriD8teqkplw as/7kZK9ao0jJ+X/qUqT4mhFqliW2v5W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6a07356f0f232fd X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20210322052204epcas1p1382cadbfe958d156c0ad9f7fcb8532b7 References: <20210322051344.1706-1-namjae.jeon@samsung.com> <20210322051344.1706-2-namjae.jeon@samsung.com> <20210322221816.GW1719932@casper.infradead.org> <00d901d71f90$cdfd24f0$69f76ed0$@samsung.com> <20210323031242.GA1719932@casper.infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Tue, Mar 23, 2021 at 12:01:22PM +0900, Namjae Jeon wrote: > > > On Mon, Mar 22, 2021 at 02:13:40PM +0900, Namjae Jeon wrote: > > > > +#define RESPONSE_BUF(w) ((void *)(w)->response_buf) > > > > +#define REQUEST_BUF(w) ((void *)(w)->request_buf) > > > > > > Why do you do this obfuscation? > > I don't remember exactly, but back then, It looked easier... > > > > > > > +#define RESPONSE_BUF_NEXT(w) \ > > > > + ((void *)((w)->response_buf + (w)->next_smb2_rsp_hdr_off)) > > > > +#define REQUEST_BUF_NEXT(w) \ > > > > + ((void *)((w)->request_buf + (w)->next_smb2_rcv_hdr_off)) > > > > > > These obfuscations aren't even used; delete them > > They are used in many place. > > Oh, argh. patch 2/5 was too big, so it didn't make it into the mailing list archive I was using to > try to review this series. Please break it up into smaller pieces for next time! Okay:) Thanks!