lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6359dcaa-0817-4819-321c-f786809ff89d@nvidia.com>
Date:   Mon, 6 Feb 2023 15:26:27 +0000
From:   Chaitanya Kulkarni <chaitanyak@...dia.com>
To:     Logan Gunthorpe <logang@...tatee.com>
CC:     "oe-kbuild-all@...ts.linux.dev" <oe-kbuild-all@...ts.linux.dev>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Jens Axboe <axboe@...nel.dk>,
        kernel test robot <lkp@...el.com>,
        Christoph Hellwig <hch@....de>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Chaitanya Kulkarni <chaitanyak@...dia.com>
Subject: Re: drivers/pci/p2pdma.c:199:44: sparse: sparse: dereference of
 noderef expression

Logan,

> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@...el.com>
> 
> sparse warnings: (new ones prefixed by >>)
>>> drivers/pci/p2pdma.c:199:44: sparse: sparse: dereference of noderef expression
> 
> vim +199 drivers/pci/p2pdma.c
> 
>     193	
>     194	static void p2pdma_page_free(struct page *page)
>     195	{
>     196		struct pci_p2pdma_pagemap *pgmap = to_p2p_pgmap(page->pgmap);
>     197		struct percpu_ref *ref;
>     198	
>   > 199		gen_pool_free_owner(pgmap->provider->p2pdma->pool,
>     200				    (uintptr_t)page_to_virt(page), PAGE_SIZE,
>     201				    (void **)&ref);
>     202		percpu_ref_put(ref);
>     203	}
>     204	
> 

Did you get a chance to look into this ?

-ck

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ