Message ID | 20190327080448.5500-21-hch@lst.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [01/21] arm64/iommu: handle non-remapped addresses in ->mmap and ->get_sgtable | expand |
On 3/27/2019 1:34 PM, Christoph Hellwig wrote: > Signed-off-by: Christoph Hellwig <hch@lst.de> > Acked-by: Robin Murphy <robin.murphy@arm.com> > --- > arch/arm64/mm/dma-mapping.c | 15 +-------------- > 1 file changed, 1 insertion(+), 14 deletions(-) > > diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c > index bf49e982c978..ad46594b3799 100644 > --- a/arch/arm64/mm/dma-mapping.c > +++ b/arch/arm64/mm/dma-mapping.c > @@ -1,20 +1,7 @@ > +// SPDX-License-Identifier: GPL-2.0 /* SPDX-License-Identifier: GPL-2.0 */ Can we do this way as discussed in https://lkml.org/lkml/2019/2/13/570 Once you fix it you can take mine review in all your this kind of patches. Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Cheers, Mukesh > /* > - * SWIOTLB-based DMA API implementation > - * > * Copyright (C) 2012 ARM Ltd. > * Author: Catalin Marinas <catalin.marinas@arm.com> > - * > - * This program is free software; you can redistribute it and/or modify > - * it under the terms of the GNU General Public License version 2 as > - * published by the Free Software Foundation. > - * > - * This program is distributed in the hope that it will be useful, > - * but WITHOUT ANY WARRANTY; without even the implied warranty of > - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > - * GNU General Public License for more details. > - * > - * You should have received a copy of the GNU General Public License > - * along with this program. If not, see <http://www.gnu.org/licenses/>. > */ > > #include <linux/gfp.h>
On 01/04/2019 07:28, Mukesh Ojha wrote: > > On 3/27/2019 1:34 PM, Christoph Hellwig wrote: >> Signed-off-by: Christoph Hellwig <hch@lst.de> >> Acked-by: Robin Murphy <robin.murphy@arm.com> >> --- >> arch/arm64/mm/dma-mapping.c | 15 +-------------- >> 1 file changed, 1 insertion(+), 14 deletions(-) >> >> diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c >> index bf49e982c978..ad46594b3799 100644 >> --- a/arch/arm64/mm/dma-mapping.c >> +++ b/arch/arm64/mm/dma-mapping.c >> @@ -1,20 +1,7 @@ >> +// SPDX-License-Identifier: GPL-2.0 > /* SPDX-License-Identifier: GPL-2.0 */ > > > Can we do this way as discussed in > https://lkml.org/lkml/2019/2/13/570 But this isn't a header file... :/ Robin. [FYI Christoph, this series is now at the top of my review pile and I promise I'll get it done by the end of this week :)] > Once you fix it you can take mine review in all your this kind of patches. > Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> > > Cheers, > Mukesh > >> /* >> - * SWIOTLB-based DMA API implementation >> - * >> * Copyright (C) 2012 ARM Ltd. >> * Author: Catalin Marinas <catalin.marinas@arm.com> >> - * >> - * This program is free software; you can redistribute it and/or modify >> - * it under the terms of the GNU General Public License version 2 as >> - * published by the Free Software Foundation. >> - * >> - * This program is distributed in the hope that it will be useful, >> - * but WITHOUT ANY WARRANTY; without even the implied warranty of >> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> - * GNU General Public License for more details. >> - * >> - * You should have received a copy of the GNU General Public License >> - * along with this program. If not, see <http://www.gnu.org/licenses/>. >> */ >> #include <linux/gfp.h> > _______________________________________________ > iommu mailing list > iommu@lists.linux-foundation.org > https://lists.linuxfoundation.org/mailman/listinfo/iommu
diff --git a/arch/arm64/mm/dma-mapping.c b/arch/arm64/mm/dma-mapping.c index bf49e982c978..ad46594b3799 100644 --- a/arch/arm64/mm/dma-mapping.c +++ b/arch/arm64/mm/dma-mapping.c @@ -1,20 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* - * SWIOTLB-based DMA API implementation - * * Copyright (C) 2012 ARM Ltd. * Author: Catalin Marinas <catalin.marinas@arm.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include <linux/gfp.h>