This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/media_tree.git tree:

Subject: [media] av7110: remove a bogus smatch warning
Author:  Mauro Carvalho Chehab <[email protected]>
Date:    Mon Feb 22 14:14:41 2016 -0300

Remove this bogus smatch warning:
        drivers/media/pci/ttpci/av7110.c:2211 frontend_init() warn: missing 
break? reassigning 'av7110->fe'

Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/pci/ttpci/av7110.c | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=d4c71d7a385575bebcf0e2a182508e75eeb77b83
diff --git a/drivers/media/pci/ttpci/av7110.c b/drivers/media/pci/ttpci/av7110.c
index 18d229fa65cf..382caf200ba1 100644
--- a/drivers/media/pci/ttpci/av7110.c
+++ b/drivers/media/pci/ttpci/av7110.c
@@ -2198,13 +2198,18 @@ static int frontend_init(struct av7110 *av7110)
                        break;
 
                case 0x0001: // Hauppauge/TT Nexus-T premium rev1.X
+               {
+                       struct dvb_frontend *fe;
+
                        // try ALPS TDLB7 first, then Grundig 29504-401
-                       av7110->fe = dvb_attach(sp8870_attach, 
&alps_tdlb7_config, &av7110->i2c_adap);
-                       if (av7110->fe) {
-                               av7110->fe->ops.tuner_ops.set_params = 
alps_tdlb7_tuner_set_params;
+                       fe = dvb_attach(sp8870_attach, &alps_tdlb7_config, 
&av7110->i2c_adap);
+                       if (fe) {
+                               fe->ops.tuner_ops.set_params = 
alps_tdlb7_tuner_set_params;
+                               av7110->fe = fe;
                                break;
                        }
-                       /* fall-thru */
+               }
+               /* fall-thru */
 
                case 0x0008: // Hauppauge/TT DVB-T
                        // Grundig 29504-401

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to