From patchwork Mon May 14 11:18:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 10404059 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4FA0B60155 for ; Wed, 16 May 2018 14:19:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3B9B82886B for ; Wed, 16 May 2018 14:19:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2EB4F2887A; Wed, 16 May 2018 14:19:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1B8802886B for ; Wed, 16 May 2018 14:19:01 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4F0016B0332; Wed, 16 May 2018 10:19:00 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 49F7C6B0333; Wed, 16 May 2018 10:19:00 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3DD8C6B0334; Wed, 16 May 2018 10:19:00 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-wr0-f198.google.com (mail-wr0-f198.google.com [209.85.128.198]) by kanga.kvack.org (Postfix) with ESMTP id EFDC36B0332 for ; Wed, 16 May 2018 10:18:59 -0400 (EDT) Received: by mail-wr0-f198.google.com with SMTP id c56-v6so737146wrc.5 for ; Wed, 16 May 2018 07:18:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:date :subject:to:cc:mail-followup-to:forward-to:reply-to:message-id; bh=JgCr8QbSsTBiQix7mk4mDFZnCM+0AH/EVve8oMIn+DE=; b=mgUEt3DdE0dd272SNKlgODYX6p1jeAkccAqUkwVt/7U38thYU2Kte/22Q3roiL3eeu eeqxbkKRZvOmP9IfV/ViDQIP3Yy1WffwlaZAI+XnlwfmP/fr8ffEsQiu7rNtppNQZr94 ppEeW73ixAFq9TwrzTw2EuNvk7SHk52e43VWksRibATgS5C6WFEVvsd8AUjGYnxoOcsw w0PjzU72GW+c7PJRnQBNHICu63hf6ciKRYYEJW/5X8eb+MgjEC6DgbNNtcpYh3ZJQjbt P3UPjvosCL66RtKRccbIJlnfOe6jfj7SgM3D/DiKhbv4FxpSsiD6iA+mK1sK5y8ALAH5 0euQ== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of mchehab@linuxtv.org designates 130.149.80.248 as permitted sender) smtp.mailfrom=mchehab@linuxtv.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Gm-Message-State: ALKqPweosMu1DJSq4KmACdEwZS1GIhUPBs7QSEKAl13UqYEIQ9F4qyl/ ZposdLDW3tNLyD9wD76Lrk602CN3AmYlHiLwyvVm8pv5Eoc42d4LakqHOg0OZVHFhUoG7OKSaV2 Dv6zv4fgVdIvXsuMvSfZpQcwkyuusE7V3UZTcwAhGXRayUHrmHZaP6OP1IxLj4NY= X-Received: by 2002:a50:ae23:: with SMTP id c32-v6mr1347147edd.131.1526480339403; Wed, 16 May 2018 07:18:59 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqO1YnhZaa0OX+wI4uTT1sw6cUWt6CEvRYzmOqrwTQeRDdJq9zKYBUOk0MsuULpjvIjKxcD X-Received: by 2002:a50:ae23:: with SMTP id c32-v6mr1347031edd.131.1526480338312; Wed, 16 May 2018 07:18:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526480338; cv=none; d=google.com; s=arc-20160816; b=hXBNI1pAzWu9/VawwKJ601wrmA8aOvSTlRK9Ad3wWuOGd7/m9ZNx5YNcZUu8JP840Y qxfPwExWDxm0HKjfhSAw1orJnSbng1LJ9RTldn3cDoFCo78xwLczKOHMdj0CWrH4u+j/ ylKDmV42hp+fJvGrvgrKH3bkfF5WSx0r5Tk0fay1I7ec+IGgZrcMbLTZM+30qFUkyMqI dkZs8Z2iko5uNRRyF9N/EXcthfsCmrdUsmGCaZjlnAowdlVEypsDJtzYswclyD7YXTbv A0cmDkkcVuYy69mtGj7T1sulrxEhYIEkP3qhRE8lc+Ft0dSOWjOrKeUOETMzVYSFSbCa TTww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:reply-to:forward-to:mail-followup-to:cc:to:subject:date :from:arc-authentication-results; bh=JgCr8QbSsTBiQix7mk4mDFZnCM+0AH/EVve8oMIn+DE=; b=Df3vBlB/eCqahcWO4dX1OFqRa/EIx5uR6V7BJP5PzP7xm7Zps9bRExExMaf89VKQeE 0oXW9vqvvSQqb05gahmvTLFhw3LUKx8Krw2/i/KVQoM9Af9ZRMBL2U861xPM6NsN7Hyj ttzgIBjZjNpCtWPaLqvlXqqqlnFAkhW8rROFjOa5zluY9QEH9X+mfNkaCYiLWIavUlE+ 1ONkco9oFB0lugGKQ6lTvhtBFW0lf7og3pF2WHYCylgENTQBBBKEJ13dYdCmyhe4ofb4 4L+F0GZzFBzXVNjdl76kT7o7UtSQJi+51ETXXLqZvTOVLXODKu0EKH76SzPlAboQEeP2 e6Eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of mchehab@linuxtv.org designates 130.149.80.248 as permitted sender) smtp.mailfrom=mchehab@linuxtv.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from www.linuxtv.org (www.linuxtv.org. [130.149.80.248]) by mx.google.com with ESMTPS id k27-v6si381254eda.213.2018.05.16.07.18.58 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 May 2018 07:18:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of mchehab@linuxtv.org designates 130.149.80.248 as permitted sender) client-ip=130.149.80.248; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of mchehab@linuxtv.org designates 130.149.80.248 as permitted sender) smtp.mailfrom=mchehab@linuxtv.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from mchehab by www.linuxtv.org with local (Exim 4.84_2) (envelope-from ) id 1fIxGa-0001wj-8z; Wed, 16 May 2018 14:18:56 +0000 From: Mauro Carvalho Chehab Date: Mon, 14 May 2018 11:18:19 +0000 Subject: [git:media_tree/master] media: gp8psk: don't abuse of GFP_DMA To: linuxtv-commits@linuxtv.org Cc: linux-mm@kvack.org, Luis R. Rodriguez Mail-followup-to: linux-media@vger.kernel.org Forward-to: linux-media@vger.kernel.org Reply-to: linux-media@vger.kernel.org Message-Id: X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP This is an automatic generated email to let you know that the following patch were queued: Subject: media: gp8psk: don't abuse of GFP_DMA Author: Mauro Carvalho Chehab Date: Sat May 5 12:09:46 2018 -0400 There's s no reason why it should be using GFP_DMA there. This is an USB driver. Any restriction should be, instead, at HCI core, if any. Cc: "Luis R. Rodriguez" Cc: linux-mm@kvack.org Signed-off-by: Mauro Carvalho Chehab drivers/media/usb/dvb-usb/gp8psk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb/gp8psk.c b/drivers/media/usb/dvb-usb/gp8psk.c index 37f062225ed2..334b9fb98112 100644 --- a/drivers/media/usb/dvb-usb/gp8psk.c +++ b/drivers/media/usb/dvb-usb/gp8psk.c @@ -148,7 +148,7 @@ static int gp8psk_load_bcm4500fw(struct dvb_usb_device *d) info("downloading bcm4500 firmware from file '%s'",bcm4500_firmware); ptr = fw->data; - buf = kmalloc(64, GFP_KERNEL | GFP_DMA); + buf = kmalloc(64, GFP_KERNEL); if (!buf) { ret = -ENOMEM; goto out_rel_fw;