diff --git a/ddbridge/ddbridge-core.c b/ddbridge/ddbridge-core.c index 7cb5856..2fa5a74 100644 --- a/ddbridge/ddbridge-core.c +++ b/ddbridge/ddbridge-core.c @@ -3627,6 +3627,7 @@ static ssize_t snr_show(struct device *device, struct device_attribute *attr, char *buf) { struct ddb *dev = dev_get_drvdata(device); + char snr[32]; int num = attr->attr.name[3] - 0x30; struct ddb_port *port = &dev->port[num]; struct i2c_adapter *i2c = &port->i2c->adap;