Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2204428ybf; Mon, 2 Mar 2020 04:10:40 -0800 (PST) X-Google-Smtp-Source: APXvYqzmgkYJKVoU9mYXkJnq8uKvYxHH/5icC9MpEdSof6pstYkgWVe/XJTELMJj0zSkcwUY8Kqi X-Received: by 2002:a9d:66c1:: with SMTP id t1mr11675591otm.73.1583151040667; Mon, 02 Mar 2020 04:10:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583151040; cv=none; d=google.com; s=arc-20160816; b=FWjVHTqBUyZNtu/1xIjraxnUaqFUSVa4HSnyYrb391Co3b15v+MpcSGv3+zb9woBi+ OkwkIdospvPfru26iotk735+Ku23oi8gJpUtJRa6y7aV9LxdA4cM5zu6RlBEhxfJ8Mx1 9Dgi6xAbPp3wXKmPViIGsrN6V2BhTC+KxbZDTxm6yvpGkgvjt0IKiqM4H0awGvh7Py2a aK7tUUx76lo73vV7QmO9+WqOZVIUtKvgvawB3vayqDjaZYIwjkSivatExdm6Buu1vdJ/ Lywo2rVrwX4aCJI39R3LGKCPe9A02rg1ZS5EDwHnIfkfMroaSTqPLceNADwH/wOc9vXc fKkw== 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; bh=HIdRpR70+QiBon8Ma1Xnuin2v9Xkjqqh4sLfhR88VOM=; b=rNIPtOV/4VHCFn5ySe/w2EVuOgXcItlE3j24avApSMdLs8JxSa/lO/pDrkECcR8N10 9mTeGIcFbw3bvXg+L10Q/MACz5DxO7DlnFYcYIsPWUrPe2z1j8qj0VhBzL6KOT/XyOec Cd2rRJRXHWaf5ZtSYTdOazX4SV7WATmIrktsQPevJqxoEEKn64HMnhnm4aUJ0PWk1wds P13srKa9DuYcIebxr5rvC9sqC0Ho7MEwpRUK3j4Lj6k7SHuu7oH5u7CiajIn4K1OGh1B rEGM8guxB6djWXjNo+hQOaIGQfeunOxtxVUSDkKgOBHFAg717KBu5JlSMH0/iWeCNBYj mEnA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f204si4673506oib.16.2020.03.02.04.10.29; Mon, 02 Mar 2020 04:10:40 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727692AbgCBMJ5 (ORCPT + 99 others); Mon, 2 Mar 2020 07:09:57 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38315 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbgCBMJ4 (ORCPT ); Mon, 2 Mar 2020 07:09:56 -0500 Received: by mail-wm1-f66.google.com with SMTP id u9so4552169wml.3; Mon, 02 Mar 2020 04:09:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HIdRpR70+QiBon8Ma1Xnuin2v9Xkjqqh4sLfhR88VOM=; b=jdWX0w1jICgaYAyYG/vju/waqVq+LoN0pr44AVHZrMFPPzKpNzJNdHWWBtLe4mF0Gi AqyOaeDaSjR4JRPsW2nGCeBp8ldrTs9EwqQtQMUZT5tji+HBgNgFOZOic7rY2kh3uuRW gI+qzVEGnW2Ik7mWmfgX1z9+B11DO2P5OMNDKVIwy87pTY5WxCQMsb54dzorclHSWFmi ZqVOK/gbQ9mtMVBx34hPwRoK6cLmc2Ehi8lbnL4Qmb1OXbi4pZCDQ5bXhTHs60v146Jq w0Wyj+eHv/en7HLZAGB2g2TnbGxYpCXqKZ0fsLc/LjVZv4eYoHIFLgLaL85ZisdWmoJV XLOg== X-Gm-Message-State: APjAAAV+mhnDep4B2m6HDkhwDsCQnnLRG8QocLKMc4arr1qM3zm22VuB 8UJ/9mQow6PlMpTuKAbFucCdsEBe X-Received: by 2002:a7b:cb03:: with SMTP id u3mr15031793wmj.41.1583150994648; Mon, 02 Mar 2020 04:09:54 -0800 (PST) Received: from debian (41.142.6.51.dyn.plus.net. [51.6.142.41]) by smtp.gmail.com with ESMTPSA id h14sm10765190wrs.85.2020.03.02.04.09.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 04:09:53 -0800 (PST) Date: Mon, 2 Mar 2020 12:09:51 +0000 From: Wei Liu To: Benjamin Tissoires Cc: Lucas Tanure , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Sasha Levin , Jiri Kosina , linux-hyperv@vger.kernel.org, "open list:HID CORE LAYER" , lkml , Wei Liu Subject: Re: [PATCH] HID: hyperv: NULL check before some freeing functions is not needed. Message-ID: <20200302120951.fhdafzl5xtnmjrls@debian> References: <20200229173007.61838-1-tanure@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Benjamin On Mon, Mar 02, 2020 at 11:16:30AM +0100, Benjamin Tissoires wrote: > On Sat, Feb 29, 2020 at 6:30 PM Lucas Tanure wrote: > > > > Fix below warnings reported by coccicheck: > > drivers/hid/hid-hyperv.c:197:2-7: WARNING: NULL check before some freeing functions is not needed. > > drivers/hid/hid-hyperv.c:211:2-7: WARNING: NULL check before some freeing functions is not needed. > > > > Signed-off-by: Lucas Tanure > > --- > > Acked-by: Benjamin Tissoires > > Sasha, do you prefer taking this through your tree or through the HID > one. I don't think we have much scheduled for hyperv, so it's up to > you. Sasha stepped down as a hyperv maintainer a few days back. I will be taking over maintenance of the hyperv tree. The problem is at the moment I haven't got write access to the repository hosted on git.kernel.org. That's something I will need to sort out as soon as possible. In the meantime, it would be great if you can pick up this patch so that it doesn't get lost while I sort out access on my side. Thanks, Wei.