Commit 80b2392a authored by Aybuke Ozdemir's avatar Aybuke Ozdemir Committed by Peter P Waskiewicz Jr

drivers/staging/crystalhd:crystalhd_lnx.c: Fix line over 80 characters.

Fix checkpatch.pl issues with line over 80 characters in crystalhd_lnx.c
Signed-off-by: default avatarAybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
parent e82efb2c
...@@ -153,7 +153,8 @@ static int chd_dec_fetch_cdata(struct crystalhd_adp *adp, ...@@ -153,7 +153,8 @@ static int chd_dec_fetch_cdata(struct crystalhd_adp *adp,
io->add_cdata_sz = m_sz; io->add_cdata_sz = m_sz;
ua_off = ua + sizeof(io->udata); ua_off = ua + sizeof(io->udata);
rc = crystalhd_user_data((void __user *)ua_off, io->add_cdata, io->add_cdata_sz, 0); rc = crystalhd_user_data((void __user *)ua_off, io->add_cdata,
io->add_cdata_sz, 0);
if (rc) { if (rc) {
BCMLOG_ERR("failed to pull add_cdata sz:%x ua_off:%x\n", BCMLOG_ERR("failed to pull add_cdata sz:%x ua_off:%x\n",
io->add_cdata_sz, (unsigned int)ua_off); io->add_cdata_sz, (unsigned int)ua_off);
...@@ -208,7 +209,8 @@ static int chd_dec_proc_user_data(struct crystalhd_adp *adp, ...@@ -208,7 +209,8 @@ static int chd_dec_proc_user_data(struct crystalhd_adp *adp,
return -EINVAL; return -EINVAL;
} }
rc = crystalhd_user_data((void __user *)ua, &io->udata, sizeof(io->udata), set); rc = crystalhd_user_data((void __user *)ua, &io->udata,
sizeof(io->udata), set);
if (rc) { if (rc) {
BCMLOG_ERR("failed to %s iodata\n", (set ? "set" : "get")); BCMLOG_ERR("failed to %s iodata\n", (set ? "set" : "get"));
return rc; return rc;
...@@ -546,9 +548,10 @@ static int chd_dec_pci_probe(struct pci_dev *pdev, ...@@ -546,9 +548,10 @@ static int chd_dec_pci_probe(struct pci_dev *pdev,
int rc; int rc;
enum BC_STATUS sts = BC_STS_SUCCESS; enum BC_STATUS sts = BC_STS_SUCCESS;
BCMLOG(BCMLOG_DBG, "PCI_INFO: Vendor:0x%04x Device:0x%04x s_vendor:0x%04x s_device: 0x%04x\n", BCMLOG(BCMLOG_DBG,
pdev->vendor, pdev->device, pdev->subsystem_vendor, "PCI_INFO: Vendor:0x%04x Device:0x%04x s_vendor:0x%04x s_device: 0x%04x\n",
pdev->subsystem_device); pdev->vendor, pdev->device, pdev->subsystem_vendor,
pdev->subsystem_device);
pinfo = kzalloc(sizeof(struct crystalhd_adp), GFP_KERNEL); pinfo = kzalloc(sizeof(struct crystalhd_adp), GFP_KERNEL);
if (!pinfo) { if (!pinfo) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment