mirror of https://gitee.com/openkylin/linux.git
staging: kpc2000: add space after comma in cell_probe.c
Fixes checkpatch.pl error "space required after that ','". Signed-off-by: Simon Sandström <simon@nikanor.nu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c16265dd6f
commit
c2f894bc14
|
@ -323,7 +323,7 @@ static int probe_core_uio(unsigned int core_num, struct kp2000_device *pcard,
|
|||
kudev->uioinfo.mem[0].size = (cte.length + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1); // Round up to nearest PAGE_SIZE boundary
|
||||
kudev->uioinfo.mem[0].memtype = UIO_MEM_PHYS;
|
||||
|
||||
kudev->dev = device_create(kpc_uio_class, &pcard->pdev->dev, MKDEV(0,0), kudev, "%s.%d.%d.%d", kudev->uioinfo.name, pcard->card_num, cte.type, kudev->core_num);
|
||||
kudev->dev = device_create(kpc_uio_class, &pcard->pdev->dev, MKDEV(0, 0), kudev, "%s.%d.%d.%d", kudev->uioinfo.name, pcard->card_num, cte.type, kudev->core_num);
|
||||
if (IS_ERR(kudev->dev)) {
|
||||
dev_err(&pcard->pdev->dev, "probe_core_uio device_create failed!\n");
|
||||
kfree(kudev);
|
||||
|
|
Loading…
Reference in New Issue