Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp453026pxk; Wed, 23 Sep 2020 07:25:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKTc3k+a7bdoFtz5Wkwqp/0l3uHRAiEy27udq8fBJZwn88xcfMJFINR7LxNi2pgV7Y5Kg5 X-Received: by 2002:a17:907:70cb:: with SMTP id yk11mr10233866ejb.312.1600871100340; Wed, 23 Sep 2020 07:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600871100; cv=none; d=google.com; s=arc-20160816; b=CKDIxtZUyXMGD9LbAB4bBRlvsmjqCqyq8Xlm/JN1VJ7ZIi8yrW/DbKNGf/5Wgycvjk 9y/WLThaOfgcm5WWyq/+OudKypy5vhAl8HUj8eP1hRX5pJpH8H6S1w6dPSyFrf7JTtTH IiDdF4926oqs/ptebDDImzhJoNP+GVU6GUfE9QZwpllXNjVOIUZc5Nx/C+CJB2cdkPRI WbSzTPmoK7Ltt+6uP7fhPUGL/yH3P/jmlQF9rDEzqyb4SiN2XNNacS533KU0urHpaluN PgGa3zn/R4cyooeD1iMfIX1DqbHG+64wm1hpYnMbzuVWFCRrRGMUv0x4ZEly9OuLAO6m VmCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=tZWkBOW6OkyhpRIUicvESlEm1fQJupW4N/xDOD1gvLc=; b=BF7Wu3Bvpe6rjHP5fmdTA2uyKwY0BdERtU86bYzjHyhDfllxRsTdONd4sRvUsBuajQ 5EGjcb3JNcBAvfSlnRjVIUHsNEfWN6wz18vwRIsNHdnsL/DqWYs5i5geZHJXnbzrp1P7 /1wAP6zN5fnjYgc1Mwfm8lCZpkDU/IGtnahMPj7EE8lldkg8mZAuv5+rvECLqHzQAK8c aRDRza8bdf2wE5Ha1d+zsBD6uhlqPKxt8unOybjKdYhhdyTmtxMOU/SLIxmyQGtAglQP XQAplD8nrK+kXyqXilcksuS5YucGw7fvv8RM9bDjABLJp1BnVEj2gl3QeJYDNJWRcdKV Dh0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=Th4XZjSP; 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=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r16si12580852edt.192.2020.09.23.07.24.34; Wed, 23 Sep 2020 07:25:00 -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=@suse.com header.s=susede1 header.b=Th4XZjSP; 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=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726615AbgIWOVU (ORCPT + 99 others); Wed, 23 Sep 2020 10:21:20 -0400 Received: from mx2.suse.de ([195.135.220.15]:56154 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgIWOVU (ORCPT ); Wed, 23 Sep 2020 10:21:20 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1600870879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tZWkBOW6OkyhpRIUicvESlEm1fQJupW4N/xDOD1gvLc=; b=Th4XZjSPlywXH6zCrM7dRqvtQDp/fjEjNRk//qQhxhFDqdpwg8cWymJ+mAtRzt5503Jpwl oqI/f5UQ1RzPm60+DU2G6I4H8HG/3tzW8mykBylZ2wrfIGGbT94h3014agaNVmMh+TVh+b G8SR8D939WpImyI4CKO44vvds1G44Ok= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6FBEAB29E; Wed, 23 Sep 2020 14:21:56 +0000 (UTC) Message-ID: <1600870858.25088.1.camel@suse.com> Subject: Re: [PATCH 3/4] net: usb: rtl8150: use usb_control_msg_recv() and usb_control_msg_send() From: Oliver Neukum To: Himadri Pandya Cc: David Miller , Jakub Kicinski , pankaj.laxminarayan.bharadiya@intel.com, Kees Cook , yuehaibing@huawei.com, petkan@nucleusys.com, ogiannou@gmail.com, USB list , netdev , LKML , linux-kernel-mentees@lists.linuxfoundation.org, Greg KH Date: Wed, 23 Sep 2020 16:20:58 +0200 In-Reply-To: References: <20200923090519.361-1-himadrispandya@gmail.com> <20200923090519.361-4-himadrispandya@gmail.com> <1600856557.26851.6.camel@suse.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, den 23.09.2020, 19:36 +0530 schrieb Himadri Pandya: > On Wed, Sep 23, 2020 at 3:52 PM Oliver Neukum wrote: > > > > Am Mittwoch, den 23.09.2020, 14:35 +0530 schrieb Himadri Pandya: > > GFP_NOIO is used here for a reason. You need to use this helper > > while in contexts of error recovery and runtime PM. > > > > Understood. Apologies for proposing such a stupid change. Hi, sorry if you concluded that the patch was stupid. That was not my intent. It was the best the API allowed for. If an API makes it easy to make a mistake, the problem is with the API, not the developer. Regards Oliver