@@ -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);
+
@@ -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);
+
On 26 August 2017 at 08:00, SF Markus Elfring
wrote:
>>> @@ -2363,5 +2364,5 @@ static int tsi148_probe(struct pci_dev *pdev, const
>>> struct pci_device_id *id)
>>> master_num--;
>>>
>>> tsi148_device->flush_image =
>>> -
On 26 August 2017 at 08:00, SF Markus Elfring
wrote:
>>> @@ -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
>> @@ -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);
>> +
>> @@ -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);
>> +
On Fri, Aug 25, 2017 at 06:15:08PM +0200, SF Markus Elfring wrote:
> @@ -2363,5 +2364,5 @@ static int tsi148_probe(struct pci_dev *pdev, const
> struct pci_device_id *id)
> master_num--;
>
> tsi148_device->flush_image =
> -
On Fri, Aug 25, 2017 at 06:15:08PM +0200, SF Markus Elfring wrote:
> @@ -2363,5 +2364,5 @@ static int tsi148_probe(struct pci_dev *pdev, const
> struct pci_device_id *id)
> master_num--;
>
> tsi148_device->flush_image =
> -
From: Markus Elfring
Date: Fri, 25 Aug 2017 11:55:03 +0200
Replace the specification of data structures by variable references
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style
From: Markus Elfring
Date: Fri, 25 Aug 2017 11:55:03 +0200
Replace the specification of data structures by variable references
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
Signed-off-by:
10 matches
Mail list logo