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] [day] [month] [year] [list]
Message-ID: <AM4PR0401MB1699052B428E871569697F988F890@AM4PR0401MB1699.eurprd04.prod.outlook.com>
Date:   Fri, 11 Aug 2017 16:38:14 +0000
From:   Leo Li <leoyang.li@....com>
To:     Yinbo Zhu <yinbo.zhu@....com>, Yinbo Zhu <yinbo.zhu@....com>,
        Rob Herring <robh+dt@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Russell King <linux@...linux.org.uk>,
        Felipe Balbi <balbi@...nel.org>
CC:     open list <devicetree@...r.kernel.org>,
        Laurent Pinchart <laurent.pinchart+renesas@...asonboard.com>,
        Catalin Marinas <catalin.marinas@....com>,
        open list <linux-usb@...r.kernel.org>,
        open list <linux-kernel@...r.kernel.org>,
        Doug Ledford <dledford@...hat.com>,
        "Stefano Stabellini" <sstabellini@...nel.org>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Bart Van Assche <bart.vanassche@...disk.com>,
        moderated list <linux-arm-kernel@...ts.infradead.org>
Subject: RE: [linux-devel] [PATCH 3/3] core-arm: add a member about
 dma_map_ops    in dev_archdata struct



> -----Original Message-----
> From: linux-devel-bounces@...rge.freescale.net [mailto:linux-devel-
> bounces@...rge.freescale.net] On Behalf Of yinbo.zhu@....com
> Sent: Friday, August 11, 2017 5:01 AM
> To: linux-devel@...rge.freescale.net; Yinbo Zhu <yinbo.zhu@....com>; Rob
> Herring <robh+dt@...nel.org>; Mark Rutland <mark.rutland@....com>;
> Russell King <linux@...linux.org.uk>; Felipe Balbi <balbi@...nel.org>
> Cc: open list <devicetree@...r.kernel.org>; Laurent Pinchart
> <laurent.pinchart+renesas@...asonboard.com>; Catalin Marinas
> <catalin.marinas@....com>; open list <linux-usb@...r.kernel.org>; open list
> <linux-kernel@...r.kernel.org>; Doug Ledford <dledford@...hat.com>;
> Stefano Stabellini <sstabellini@...nel.org>; Greg Kroah-Hartman
> <gregkh@...uxfoundation.org>; Bart Van Assche
> <bart.vanassche@...disk.com>; moderated list <linux-arm-
> kernel@...ts.infradead.org>
> Subject: [linux-devel] [PATCH 3/3] core-arm: add a member about
> dma_map_ops in dev_archdata struct
> 
> From: "yinbo.zhu" <yinbo.zhu@....com>

The dma_ops was just moved from struct dev_archdata to struct device with commit 5657933dbb6e25feaf5d8df8c88f96cdade693a3.  Don't duplicate the dma_ops in both places if you don't have a good reason.

> 
> Signed-off-by: yinbo.zhu <yinbo.zhu@....com>
> ---
>  arch/arm/include/asm/device.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h
> index 220ba20..c93d3df 100644
> --- a/arch/arm/include/asm/device.h
> +++ b/arch/arm/include/asm/device.h
> @@ -7,6 +7,7 @@
>  #define ASMARM_DEVICE_H
> 
>  struct dev_archdata {
> +const struct dma_map_ops        *dma_ops;
>  #ifdef CONFIG_DMABOUNCE
>  	struct dmabounce_device_info *dmabounce;  #endif
> --
> 2.1.0.27.g96db324
> 
> _______________________________________________
> linux-devel mailing list
> linux-devel@...rge.freescale.net
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgforge.
> freescale.net%2Fmailman%2Flistinfo%2Flinux-
> devel&data=01%7C01%7Cleoyang.li%40nxp.com%7Cc83542988dac448bd8b908
> d4e0a230af%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=1pbSjxG781
> yjcCF%2BuXbRCkV6ytbfTTgQkHNWmm0e9nk%3D&reserved=0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ