Prev: vmscan: isolated_lru_pages() stop neighbor search if neighbor can't be isolated
Next: driver core: Add ability for arch code to setup pdev_archdata
From: Stephen Rothwell on 5 Aug 2010 11:50 Hi Kumar, On Thu, 5 Aug 2010 10:15:46 -0500 Kumar Gala <galak(a)kernel.crashing.org> wrote: > > +static inline void arch_setup_pdev_archdata(struct platform_device *pdev) > +{ > + pdev->dev.dma_mask = &pdev->archdata.dma_mask; > + > + return; > +} The blank line and "return;" don't add anything. -- Cheers, Stephen Rothwell sfr(a)canb.auug.org.au http://www.canb.auug.org.au/~sfr/
From: Kumar Gala on 5 Aug 2010 12:20
On Aug 5, 2010, at 10:44 AM, Stephen Rothwell wrote: > Hi Kumar, > > On Thu, 5 Aug 2010 10:15:46 -0500 Kumar Gala <galak(a)kernel.crashing.org> wrote: >> >> +static inline void arch_setup_pdev_archdata(struct platform_device *pdev) >> +{ >> + pdev->dev.dma_mask = &pdev->archdata.dma_mask; >> + >> + return; >> +} > > The blank line and "return;" don't add anything. Will fix. - k-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |