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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200121080015.0875a4bd@cakuba>
Date:   Tue, 21 Jan 2020 08:00:15 -0800
From:   Jakub Kicinski <kuba@...nel.org>
To:     sunil.kovvuri@...il.com
Cc:     netdev@...r.kernel.org, davem@...emloft.net, mkubecek@...e.cz,
        Sunil Goutham <sgoutham@...vell.com>
Subject: Re: [PATCH v4 01/17] octeontx2-pf: Add Marvell OcteonTX2 NIC driver

On Tue, 21 Jan 2020 18:51:35 +0530, sunil.kovvuri@...il.com wrote:
> +	err = pci_set_dma_mask(pdev, DMA_BIT_MASK(48));
> +	if (err) {
> +		dev_err(dev, "Unable to set DMA mask\n");
> +		goto err_release_regions;
> +	}
> +
> +	err = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(48));
> +	if (err) {
> +		dev_err(dev, "Unable to set consistent DMA mask\n");
> +		goto err_release_regions;
> +	}

please convert to using dma_set_mask_and_coherent()

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ