On Mon January 14 2013 11:09:41 Sachin Kamat wrote: > Fixes the following warning: > drivers/media/platform/s5p-mfc/s5p_mfc_opr.c:56:27: warning: > Using plain integer as NULL pointer > > Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx> Acked-by: Hans Verkuil <hans.verkuil@xxxxxxxxx> > --- > drivers/media/platform/s5p-mfc/s5p_mfc_opr.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c b/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c > index b4c1943..10f8ac3 100644 > --- a/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c > +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_opr.c > @@ -53,7 +53,7 @@ void s5p_mfc_release_priv_buf(struct device *dev, > { > if (b->virt) { > dma_free_coherent(dev, b->size, b->virt, b->dma); > - b->virt = 0; > + b->virt = NULL; > b->dma = 0; > b->size = 0; > } > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html