Re: [PATCH 13/14] vme: tsi148: Improve 17 size determinations

From: Martyn Welch
Date: Fri Aug 25 2017 - 16:57:32 EST


On Fri, Aug 25, 2017 at 06:15:08PM +0200, SF Markus Elfring wrote:

<snip>

> @@ -2363,5 +2364,5 @@ static int tsi148_probe(struct pci_dev *pdev, const struct pci_device_id *id)
> master_num--;
>
> tsi148_device->flush_image =
> - kmalloc(sizeof(struct vme_master_resource), GFP_KERNEL);
> + kmalloc(sizeof(*tsi148_device->flush_image), GFP_KERNEL);

This line is now a tiny bit too long and needs to be broken over two lines.

Martyn