VIDEO4LINUX-2: Replace MINOR() with a call to iminor().
PATCH 1/1 VIDEO4LINUX-2: Replace MINOR() with a call to iminor().
Replace the call to MINOR() with a call to the inline iminor() routine.
---
that's the last of those changes, but it's not clear who the official maintainer is, so i took a chance and picked a likely looking victim out of the MAINTAINERS file. apologies if i picked wrong.
drivers/media/video/ivtv/ivtv-fileops.c +1 -1
@@ -804,7 +804,7 @@ int ivtv_v4l2_open(struct inode *inode, struct file *filp)struct ivtv_open_id *item;struct ivtv *itv =NULL ;struct ivtv_stream *s =NULL ; -int minor =MINOR (inode->i_rdev); +int minor =iminor (inode);/* Find which card this open was on */ spin_lock (&ivtv_cards_lock);
Signature · 7 lines
======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://fsdev.net/wiki/index.php?title=Main_Page ========================================================================
Hi Robert,
Em Sáb, 2007-04-28 às 06:32 -0400, Robert P. J. Day escreveu:
Quoted 10 lines
Replace the call to
MINOR()with a call to the inlineiminor()routine.Signed-off-by Robert P. J. Day <[email protected]>---
that's the last of those changes, but it's not clear who the official maintainer is, so i took a chance and picked a likely looking victim out of the
MAINTAINERSfile. apologies if i picked wrong.
You've picked it wrongly. The Maintainer for ivtv is Hans Verkuil. However, for every stuff under drivers/media, you can reach the active maintainers at v4l-dvb-maintainers list ([email protected]).
Hans,
If you are ok with this trivial change, please send me your acked-by or SOB for me to commit and send to mainstream.
Quoted 15 lines
drivers/media/video/ivtv/ivtv-fileops.c +1
-1@@ -804,7 +804,7 @@ int ivtv_v4l2_open(struct inode *inode, struct file *filp)struct ivtv_open_id *item;struct ivtv *itv =NULL ;struct ivtv_stream *s =NULL ; -int minor =MINOR (inode->i_rdev); +int minor =iminor (inode);/* Find which card this open was on */ spin_lock (&ivtv_cards_lock);
Signature · 2 lines
Cheers, Mauro
Hans Verkuil
Acked-byQuoted 19 lines
Hi Robert,
Em Sáb, 2007-04-28 às 06:32 -0400, Robert P. J. Day escreveu:
Quoted 10 lines
Replace the call to
MINOR()with a call to the inlineiminor()routine.Signed-off-by Robert P. J. Day <[email protected]>---
that's the last of those changes, but it's not clear who the official maintainer is, so i took a chance and picked a likely looking victim out of the
MAINTAINERSfile. apologies if i picked wrong.You've picked it wrongly. The Maintainer for ivtv is Hans Verkuil. However, for every stuff under
drivers/media, you can reach the active maintainers at v4l-dvb-maintainers list ([email protected]).
Quoted 4 lines
Hans,
If you are ok with this trivial change, please send me your acked-by or SOB for me to commit and send to mainstream.
Regards,
Hans
Quoted 27 lines
Quoted 16 lines
drivers/media/video/ivtv/ivtv-fileops.c +1
-1@@ -804,7 +804,7 @@ int ivtv_v4l2_open(struct inode *inode, struct file *filp)struct ivtv_open_id *item;struct ivtv *itv =NULL ;struct ivtv_stream *s =NULL ; -int minor =MINOR (inode->i_rdev); +int minor =iminor (inode);/* Find which card this open was on */ Quoted 1 line
spin_lock(&ivtv_cards_lock);--
Cheers,
Mauro_______________________________________________
v4l-dvb-maintainer mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/v4l-dvb-maintainer