From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 417B0C43461 for ; Tue, 8 Sep 2020 10:05:35 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E08A320678 for ; Tue, 8 Sep 2020 10:05:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Mbv785iO" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E08A320678 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hMaVknL3YIWcH4SvnQVmn56ZvxX6Y2IVb9RmsrMEbeM=; b=Mbv785iOwZAMA1vCjySbbTD4M rtiB+SepJ7MSifVx38U+I9WSTM0845hcUb/bOEzyHWO9LKQUBy7N3D44ernq/1Rqq4erR5D+6yDKC WeRhKhyjJwMIofeAP21svmMaM+yrAFKmlRgbgX1yrx+KVnrHGijwgKKn+RyDOM5IL7rNyfu6Qi7kW EnURM3rkAlKMjomTBTe+SccR6jGUZjIqsDPmdo6zidBQ+houb3M6zeP6Y9w0YjdHalw6YAQ4aZHl0 ginOAhPJm8Ahl35g923cJNRAa7IeLxuM92o0U9dFYomUlHG1K3kM2UdNKxFL8WZKoKde3TO+ZXe2L DvmgX8Umw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFaUF-0005Dd-C7; Tue, 08 Sep 2020 10:04:27 +0000 Received: from mail-ed1-f67.google.com ([209.85.208.67]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFaUC-0005CG-6c for linux-arm-kernel@lists.infradead.org; Tue, 08 Sep 2020 10:04:25 +0000 Received: by mail-ed1-f67.google.com with SMTP id n22so15409824edt.4 for ; Tue, 08 Sep 2020 03:04:21 -0700 (PDT) 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; bh=41jdhiY3hGPsJXDGiNMFzyQcSco7x7sF5J0nlworzJ8=; b=RQP83wBjP/bQKWU4qsFA0flMsRf78w+vedTe/1E4dg1vaGp4AqorslT0ysvf78236c iIRuFv6Wcm/f5GE/aGUh/9hwztR+9m1lj8Gwwbja8t/KErwzNJpIlZzD+KiR4IYNaeYO +zFratVp+RKqBpc7eJ2NsmU61bG7VBaUQCzUonSJ86+fYGN/WaLVj1V7QqMGrkDJ4lXi Ym1YNaGDauN+NhWdGO5GLdgaMW26xNnKapiUxjowDJEZpDS05sCKKpG2pqMCbXNb1ZBC 5s1Gpl5YSB4Ryjc3Xzvj18IoyEU5JeA+S3ZGPfz22JaAnGEtUckDSqsND7pMZXqTjBCK xnVQ== X-Gm-Message-State: AOAM530czDepAuhVqEoqCOnzmIBx3n0QEu9uC5W5KwiphJfobv4ZJTJz zb3ewzrwTKQMR03rJOOd2DrCCuJw3GM= X-Google-Smtp-Source: ABdhPJyNCAxNOeWrvlOE+pooKSp8STo3Uxon5b0qHcl0481Wh4eZmCwngfJ0RMd2G7FOnFU04fOQcQ== X-Received: by 2002:aa7:d3da:: with SMTP id o26mr25269429edr.169.1599559460344; Tue, 08 Sep 2020 03:04:20 -0700 (PDT) Received: from pi3 ([194.230.155.174]) by smtp.googlemail.com with ESMTPSA id g25sm15204818edu.53.2020.09.08.03.04.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Sep 2020 03:04:19 -0700 (PDT) Date: Tue, 8 Sep 2020 12:04:16 +0200 From: Krzysztof Kozlowski To: Julia Lawall Subject: Re: [PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings Message-ID: <20200908100416.GA24903@pi3> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200908_060424_271144_56B498DC X-CRM114-Status: GOOD ( 15.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, kbuild-all@lists.01.org, Arnd Bergmann , Greg Kroah-Hartman , Yang Deokgyu , Kukjin Kim , Dongjin Kim , memeka , Brian Kim , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Sep 08, 2020 at 11:39:51AM +0200, Julia Lawall wrote: > No need to set .owner here. The core will do it. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Fixes: be904257f8a9 ("ODROID-XU4: char: exynos: add /dev/gpiomem device for rootless user GPIO access") > CC: Brian Kim > Signed-off-by: kernel test robot > Signed-off-by: Julia Lawall Hi, This is a downstream tree with certain non-upstreamable patches, so nothing to do here for me. Best regards, Krzysztof > --- > > I received some other warnings about this file, but with no details: > > >> drivers/char/exynos-gpiomem.c:231:15-18: ERROR: inst is NULL but > dereferenced. > -- > >> drivers/char/exynos-gpiomem.c:231:9-13: ERROR: reference preceded by > free on line 229 > > > tree: https://github.com/tobetter/linux odroid-5.9.y > head: 1118f1d60573bfbf1eb7ef079fa879a498ba4313 > commit: be904257f8a9bd689b360fa98d3ffc85bdbeb560 [53/69] ODROID-XU4: char: exynos: add /dev/gpiomem device for rootless user GPIO access > :::::: branch date: 4 hours ago > :::::: commit date: 4 hours ago > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel