[bug report] net: thunderx: Add RGMII interface type support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Sunil Goutham,

This is a semi-automatic email about new static checker warnings.

The patch 6465859aba1e: "net: thunderx: Add RGMII interface type 
support" from Aug 12, 2016, leads to the following Smatch complaint:

drivers/net/ethernet/cavium/thunder/thunder_xcv.c:119 xcv_setup_link()
	 error: we previously assumed 'xcv' could be null (see line 118)

drivers/net/ethernet/cavium/thunder/thunder_xcv.c
   117	
   118		if (!xcv) {
                     ^^^
check.

   119			dev_err(&xcv->pdev->dev,
                                 ^^^^^^^^^^^^^^
dereference.

   120				"XCV init not done, probe may have failed\n");
   121			return;

regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux