Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4590292ybf; Wed, 4 Mar 2020 06:56:52 -0800 (PST) X-Google-Smtp-Source: ADFU+vsCOhrPiu86mMVAeJULGj9Hyd+4zyZDCc83OJ5NH4rTreFlQ7q1+tiyEkhsz9N2nfu9BH39 X-Received: by 2002:a54:4801:: with SMTP id j1mr2072416oij.108.1583333812164; Wed, 04 Mar 2020 06:56:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583333812; cv=none; d=google.com; s=arc-20160816; b=purkjB7kU8fg6Ac5dUMiaDOiLLpOTkpjI4PRik8WhcZ3fIyerCWZCzRrQMeLL9RKbj JLKgKzAwivQtpPbD9AyRlSLu1pkLVspmpTaFtMMZGqONB3M83R0g1bsyXCza4ELmupoX RfUaHmMue0o+gRiVQfBk822OkchJ87i/iTM4xJibjR+On+uRjCmelFr+WRIn0CpPXLMk yOc6b6x0dPPYjvt5WTl83rJNaV3NuXIg1+FywVRiBek/jqdsfTmic+vxrwwkHinDrCds iAeH4DIt+Nk+8FFntBDa/HTPtdIVvussBNZxtaTxLSYknbURUQasHPpL4ao79xN8tSKD oYaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=oKVK8TwDwaGEB6ayUlSBTUyLsbqiCprj+fuuCbfWt8c=; b=0Oa2Aj39Pq7uC02lrDQzUkPEndM+p2YDU0NxlWGXRqz56cMJ5Xi+b0uuz3K8T76xFs DuRaIhTuNDjskP28TBu9bYQcrdQmqGUtKBLEzWZpIqoKsVhCDMArtaXDGW8O9krvNyi6 LDyCAt/3YSd6eKjg1/KGNZ3/G4OxFxPv6Cyy4/YzIWljsFx61Kc4tWLTib7xnO91tbLt xryp0Dh/cHheQukhKSMcLicUw8ZD9Sd1HQvruo02PgqW7+Tk05rhZCU1c2wNRBML4sPJ zWrMmZUANOA95l9t7lsbXS5FOUGl7/XKmTrY6KqvetY2I3VJJS/jaZjZ1Crt3xJKE+A6 gLkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Esxzr0Kp; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1si1286647oic.245.2020.03.04.06.56.38; Wed, 04 Mar 2020 06:56:52 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Esxzr0Kp; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727308AbgCDOzx (ORCPT + 99 others); Wed, 4 Mar 2020 09:55:53 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:27960 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725795AbgCDOzx (ORCPT ); Wed, 4 Mar 2020 09:55:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583333752; 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: in-reply-to:in-reply-to:references:references; bh=oKVK8TwDwaGEB6ayUlSBTUyLsbqiCprj+fuuCbfWt8c=; b=Esxzr0KpeR/IocQXzEUbf4FMwF4GXsbbc1UF8Wct6OHMhKqs8IlcMou50JQRDtm3BXWmnm ey/vPdy9m2XkupN4orBCBcMgOV0619COR8uGqorpzY8gF/Hff4/CUh0KEbIvtQp+UpkF/i 7UEA6bdF6u/UAIg9zumhUHZn+F29a00= Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-277-uNPoRVoHOvSry-xsE3xqTg-1; Wed, 04 Mar 2020 09:55:46 -0500 X-MC-Unique: uNPoRVoHOvSry-xsE3xqTg-1 Received: by mail-qv1-f71.google.com with SMTP id d7so1116688qvq.12 for ; Wed, 04 Mar 2020 06:55:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oKVK8TwDwaGEB6ayUlSBTUyLsbqiCprj+fuuCbfWt8c=; b=KqthijX8pCkaBvdKlzLTlJOlPSycOR6c/kZ+ekojg6kUKugJGSlUU17XeXv9ZURBsF PnN7Apg7jNddVgPCqohCVIGhrcEJaEd1jM8uWPUnNAOnxBzB/C/qixHZ3uj4xMdTdDgE LUoYUMsltlm8EgCZQP8SA6xalmYCPke+/+q3YxR5bgibeuPdhNgPHd3ISLJ6DfXHtQOe 1HZVKQKt5C0qP4/mQoMwrcvY85XNbNBs0Uh8oZ/MmQgYD3VioDbeZyXnqI7RgiUMtfsI 6FZGqtnotoO1et+3R9v92Ku5huTrROqPnFwer2Fr4od2sa1ZhwWs1ZOGH53pQaxphldQ K6ng== X-Gm-Message-State: ANhLgQ0Wfmg3wvH/3mZs38R5Ddor+0pyysZS9RJiIUSeNSg+jKh45mVO wE69qXNPZ6AQgei5kD1vyUn0Rxwlo0Dre3DEEo6GNabFm74tvtPjlp4bb3U1ZXINS1U9EOrADWA Pafmn2s4h626JMDSSKvyP9EuD5jSFdssTKxdrytWz X-Received: by 2002:a05:620a:1517:: with SMTP id i23mr3121564qkk.459.1583333746201; Wed, 04 Mar 2020 06:55:46 -0800 (PST) X-Received: by 2002:a05:620a:1517:: with SMTP id i23mr3121533qkk.459.1583333745910; Wed, 04 Mar 2020 06:55:45 -0800 (PST) MIME-Version: 1.0 References: <20200229173007.61838-1-tanure@linux.com> <20200302120951.fhdafzl5xtnmjrls@debian> <20200304144858.xc6ekcvbzrhbggsc@debian> In-Reply-To: <20200304144858.xc6ekcvbzrhbggsc@debian> From: Benjamin Tissoires Date: Wed, 4 Mar 2020 15:55:34 +0100 Message-ID: Subject: Re: [PATCH] HID: hyperv: NULL check before some freeing functions is not needed. To: Wei Liu 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 4, 2020 at 3:49 PM Wei Liu wrote: > > On Mon, Mar 02, 2020 at 12:09:51PM +0000, Wei Liu wrote: > > 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. > > Hi Benjamin > > I got access to the Hyper-V tree. I will be picking this patch up since > I haven't got a confirmation from your side. > Great, thanks. Sorry, I am pulled in freedesktop tasks right now that are a little bit urgent. Glad you quickly set up the access rights. Cheers, Benjamin