Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2e74cdb authored by Niranjana Vishwanathapura's avatar Niranjana Vishwanathapura
Browse files

msm: emac: Fix compilation error with gcc-4.5.2 compiler



GCC-4.5.2 compiler is showing new compilation error regarding
uninitialized variables. Update code to initialize the required
variables.

Change-Id: Ida58082991f6a6865523011c9ff0116d4c24dd26
Signed-off-by: default avatarNiranjana Vishwanathapura <nvishwan@codeaurora.org>
parent 21b29f35
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -328,7 +328,8 @@ static int emac_ptp_sysfs_tstamp_show(struct device *dev,
				      struct device_attribute *attr, char *buf)
{
	struct emac_adapter *adpt = netdev_priv(to_net_dev(dev));
	struct timespec ts, ts_now;
	struct timespec ts = { 0 };
	struct timespec ts_now = { 0 };
	int count = PAGE_SIZE;
	int retval;