[0904_13] Siano: move DVB_API and remove redundant code
Quoted 160 lines · Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <[email protected]>
Subject: Re: [PATCH] [0904_13] Siano: moveDVB_APIand remove redundant code
To: "Uri Shkolnik" <[email protected]>
Cc: "LinuxML" <[email protected]>
Date: Monday, April 20, 2009, 9:19 PM
On Mon, 20 Apr 2009 11:07:57 -0700
(PDT)
Uri Shkolnik <[email protected]>Quoted 4 lines · wrote:
--- On Mon, 4/20/09, Mauro Carvalho Chehab <[email protected]>
Quoted 3 lines · wrote:
Quoted 3 lines
From: Mauro Carvalho Chehab <[email protected]>
Subject: Re: [PATCH] [0904_13] Siano: move
DVB_APIand remove redundant codeQuoted 9 lines
Quoted 9 lines
To: "Uri Shkolnik" <[email protected]>
Cc: "LinuxML" <[email protected]>
Date: Monday, April 20, 2009, 9:02 PM
On Sun, 5 Apr 2009 03:31:32 -0700
(PDT)
Uri Shkolnik <[email protected]>Quoted 1 line · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
# HG changeset patch
# User Uri Shkolnik <[email protected]>
# Date 1238755204 -10800
# Node ID
f65a29f0f9a66f82a91525ae0085a15f00ac91c2Quoted 3 lines
Quoted 3 lines
Quoted 1 line
# Parent
897669fdeb3be75a2bde978557b5398a4a7d8914Quoted 1 line
[PATCH] [0904_13] Siano: move
DVB_APIandremove
Quoted 5 lines
Quoted 5 lines
redundant code
Quoted 4 lines
From: Uri Shkolnik <[email protected]>
The DVB-API related information has been
moved from
Quoted 2 lines
Quoted 2 lines
the core header
Quoted 1 line
to the smsdvb, and the redundant code has
been removed
Quoted 4 lines
Quoted 4 lines
from the
Quoted 3 lines
core header.
This code has been moved since it is used
only by
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
the smsdvb client component.
This patch depends on the previous patches that I
asked
Quoted 2 lines
Quoted 2 lines
some changes. Please
re-submit it together with the other patches thatweren't
Quoted 2 lines
Quoted 2 lines
committed. It is
probably not much valuable to commit the laterpatches, so
Quoted 5 lines
Quoted 5 lines
I'll stop analysing
the code here.The patch itself looks sane to my eyes.
Quoted 1 line
Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Priority: normal
Signed-off-by Uri Shkolnik <[email protected]>diff -r
897669fdeb3b-rf65a29f0f9a6
linux/drivers/media/dvb/siano/smscoreapi.hQuoted 1 line
---
a/linux/drivers/media/dvb/siano/smscoreapi.hQuoted 3 lines
Quoted 3 lines
Fri Apr 03 13:31:13 2009 +0300
Quoted 1 line
+++
b/linux/drivers/media/dvb/siano/smscoreapi.hQuoted 2 lines
Quoted 2 lines
Fri Apr 03 13:40:04 2009 +0300
Review along with this
Quoted 1 line
(quoted diff) +0
-0@@ -36,15 +36,6 @@ along with thisprogram. If
Quoted 18 lines
Quoted 18 lines
not, see <h
Quoted 12 lines
(quoted diff) +0
-0#include <asm/page.h>
/* #include "smsir.h" */(quoted diff) +0
-9- -#define SMS_DVB3_SUBSYS -#ifdef SMS_DVB3_SUBSYS -#include "dmxdev.h" -#include "dvbdev.h" -#include "dvb_demux.h" -#include "dvb_frontend.h" - -#endifQuoted 4 lines
#definekmutex_init(_p_)mutex_init(_p_)
#definekmutex_lock(_p_)mutex_lock(_p_)
diff -r897669fdeb3b-rf65a29f0f9a6
linux/drivers/media/dvb/siano/smsdvb.cQuoted 7 lines
Quoted 7 lines
Quoted 1 line
---
a/linux/drivers/media/dvb/siano/smsdvb.c
Fri Apr 03 13:31:13 2009 +0300Quoted 1 line
+++
b/linux/drivers/media/dvb/siano/smsdvb.c
Fri Apr 03 13:40:04 2009 +0300Review along with this
Quoted 1 line
(quoted diff) +0
-0@@ -22,6 +22,11 @@ along with thisprogram. If
Quoted 23 lines
Quoted 23 lines
not, see <h
Quoted 12 lines
(quoted diff) +5
-0#include <linux/module.h> #include <linux/init.h> #include <asm/byteorder.h> + +#include "dmxdev.h" +#include "dvbdev.h" +#include "dvb_demux.h" +#include "dvb_frontend.h"
#include "smscoreapi.h"
/*#include "smsendian.h"*/Review struct smsdvb_client_t { · line 58
Quoted 2 lines
(quoted diff) +0
-0@@ -52,7 +57,7 @@ struct smsdvb_client_t { fe_status_t fe_status; int fe_ber, fe_snr, fe_unc,
fe_signal_strength;Quoted 2 lines
- struct completiontune_done,
stat_done;Quoted 3 lines
+ struct completion
tune_done;
/* todo: save freq/bandinstead whole struct */
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
struct
dvb_frontend_parametersfe_params;Quoted 6 lines
--
To unsubscribe from this list: send theline
Quoted 7 lines
Quoted 7 lines
"unsubscribe linux-media" in
Quoted 2 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlQuoted 7 lines
Quoted 3 lines
Cheers,
MauroOK
I'll submit patches to fix the various rejects on the
coming Wednesday (I'm ooo tomorrow).
Quoted 2 lines
BTW - is it possible for me to clone the current tree
you currently have? (after applying the approved patches), it will help me for future patches.
Quoted 8 lines
Sure. The better is to apply your patches over the fresh clone. You can use
the ./hgimport script to help you to pick the patches from your old tree.Cheers,
Mauro
Regarding the ./hgimport script - how do I tell that script to refer to your tree and not to any other hg tree? Isn't the default look-up is the dvb-api trunk?
Regards,
Uri
Quoted 170 lines · On Mon, 20 Apr 2009 11:24:11 -0700 (PDT) Uri Shkolnik <[email protected]> wrote:
Quoted 165 lines · Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <[email protected]>
Subject: Re: [PATCH] [0904_13] Siano: moveDVB_APIand remove redundant code
To: "Uri Shkolnik" <[email protected]>
Cc: "LinuxML" <[email protected]>
Date: Monday, April 20, 2009, 9:19 PM
On Mon, 20 Apr 2009 11:07:57 -0700
(PDT)
Uri Shkolnik <[email protected]>Quoted 4 lines · wrote:
--- On Mon, 4/20/09, Mauro Carvalho Chehab <[email protected]>
Quoted 3 lines · wrote:
Quoted 3 lines
From: Mauro Carvalho Chehab <[email protected]>
Subject: Re: [PATCH] [0904_13] Siano: move
DVB_APIand remove redundant codeQuoted 9 lines
Quoted 9 lines
To: "Uri Shkolnik" <[email protected]>
Cc: "LinuxML" <[email protected]>
Date: Monday, April 20, 2009, 9:02 PM
On Sun, 5 Apr 2009 03:31:32 -0700
(PDT)
Uri Shkolnik <[email protected]>Quoted 1 line · wrote:
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
# HG changeset patch
# User Uri Shkolnik <[email protected]>
# Date 1238755204 -10800
# Node ID
f65a29f0f9a66f82a91525ae0085a15f00ac91c2Quoted 3 lines
Quoted 3 lines
Quoted 1 line
# Parent
897669fdeb3be75a2bde978557b5398a4a7d8914Quoted 1 line
[PATCH] [0904_13] Siano: move
DVB_APIandremove
Quoted 5 lines
Quoted 5 lines
redundant code
Quoted 4 lines
From: Uri Shkolnik <[email protected]>
The DVB-API related information has been
moved from
Quoted 2 lines
Quoted 2 lines
the core header
Quoted 1 line
to the smsdvb, and the redundant code has
been removed
Quoted 4 lines
Quoted 4 lines
from the
Quoted 3 lines
core header.
This code has been moved since it is used
only by
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
the smsdvb client component.
This patch depends on the previous patches that I
asked
Quoted 2 lines
Quoted 2 lines
some changes. Please
re-submit it together with the other patches thatweren't
Quoted 2 lines
Quoted 2 lines
committed. It is
probably not much valuable to commit the laterpatches, so
Quoted 5 lines
Quoted 5 lines
I'll stop analysing
the code here.The patch itself looks sane to my eyes.
Quoted 1 line
Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Priority: normal
Signed-off-by Uri Shkolnik <[email protected]>diff -r
897669fdeb3b-rf65a29f0f9a6
linux/drivers/media/dvb/siano/smscoreapi.hQuoted 1 line
---
a/linux/drivers/media/dvb/siano/smscoreapi.hQuoted 3 lines
Quoted 3 lines
Fri Apr 03 13:31:13 2009 +0300
Quoted 1 line
+++
b/linux/drivers/media/dvb/siano/smscoreapi.hQuoted 2 lines
Quoted 2 lines
Fri Apr 03 13:40:04 2009 +0300
Review along with this
Quoted 1 line
(quoted diff) +0
-0@@ -36,15 +36,6 @@ along with thisprogram. If
Quoted 18 lines
Quoted 18 lines
not, see <h
Quoted 12 lines
(quoted diff) +0
-0#include <asm/page.h>
/* #include "smsir.h" */(quoted diff) +0
-9- -#define SMS_DVB3_SUBSYS -#ifdef SMS_DVB3_SUBSYS -#include "dmxdev.h" -#include "dvbdev.h" -#include "dvb_demux.h" -#include "dvb_frontend.h" - -#endifQuoted 4 lines
#definekmutex_init(_p_)mutex_init(_p_)
#definekmutex_lock(_p_)mutex_lock(_p_)
diff -r897669fdeb3b-rf65a29f0f9a6
linux/drivers/media/dvb/siano/smsdvb.cQuoted 7 lines
Quoted 7 lines
Quoted 1 line
---
a/linux/drivers/media/dvb/siano/smsdvb.c
Fri Apr 03 13:31:13 2009 +0300Quoted 1 line
+++
b/linux/drivers/media/dvb/siano/smsdvb.c
Fri Apr 03 13:40:04 2009 +0300Review along with this
Quoted 1 line
(quoted diff) +0
-0@@ -22,6 +22,11 @@ along with thisprogram. If
Quoted 23 lines
Quoted 23 lines
not, see <h
Quoted 12 lines
(quoted diff) +5
-0#include <linux/module.h> #include <linux/init.h> #include <asm/byteorder.h> + +#include "dmxdev.h" +#include "dvbdev.h" +#include "dvb_demux.h" +#include "dvb_frontend.h"
#include "smscoreapi.h"
/*#include "smsendian.h"*/Review struct smsdvb_client_t { · line 58
Quoted 2 lines
(quoted diff) +0
-0@@ -52,7 +57,7 @@ struct smsdvb_client_t { fe_status_t fe_status; int fe_ber, fe_snr, fe_unc,
fe_signal_strength;Quoted 2 lines
- struct completiontune_done,
stat_done;Quoted 3 lines
+ struct completion
tune_done;
/* todo: save freq/bandinstead whole struct */
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
struct
dvb_frontend_parametersfe_params;Quoted 6 lines
--
To unsubscribe from this list: send theline
Quoted 7 lines
Quoted 7 lines
"unsubscribe linux-media" in
Quoted 2 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlQuoted 7 lines
Quoted 3 lines
Cheers,
MauroOK
I'll submit patches to fix the various rejects on the
coming Wednesday (I'm ooo tomorrow).
Quoted 2 lines
BTW - is it possible for me to clone the current tree
you currently have? (after applying the approved patches), it will help me for future patches.
Sure. The better is to apply your patches over the fresh clone. You can use
the ./hgimport script to help you to pick the patches from your old tree.
Quoted 5 lines
Quoted 3 lines
Cheers,
MauroRegarding the ./hgimport script - how do I tell that script to refer to your tree and not to any other hg tree? Isn't the default look-up is the dvb-api trunk?
It has no defaults. You can point it to a remote URL or to a local path.
Quoted 8 lines
Regards,
Uri
Cheers,
Mauro