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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <25694cb6-ef03-7ef4-f096-257bcb560bbb@gmail.com>
Date:   Mon, 23 Aug 2021 17:09:08 +0900
From:   Akihiro TSUKADA <tskd08@...il.com>
To:     Christophe JAILLET <christophe.jaillet@...adoo.fr>,
        mchehab@...nel.org
Cc:     linux-media@...r.kernel.org, linaro-mm-sig@...ts.linaro.org,
        linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] media: switch from 'pci_' to 'dma_' API

>  drivers/media/pci/pt1/pt1.c                   |  2 +-

> diff --git a/drivers/media/pci/pt1/pt1.c b/drivers/media/pci/pt1/pt1.c
> index f2aa36814fba..121a4a92ea10 100644
> --- a/drivers/media/pci/pt1/pt1.c
> +++ b/drivers/media/pci/pt1/pt1.c
> @@ -1340,7 +1340,7 @@ static int pt1_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
>  	if (ret < 0)
>  		goto err;
>  
> -	ret = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
> +	ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32));
>  	if (ret < 0)
>  		goto err_pci_disable_device;
>  

Acked-by: Akihiro Tsukada <tskd08@...il.com>
Tested-by: Akihiro Tsukada <tskd08@...il.com>

--
tsukada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ