"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "drivers/net/can/usb/peak_usb/pcan_usb_fd.c" between
linux-5.3-rc3.tar.gz and linux-5.3-rc4.tar.gz

About: The full source of the development Linux kernel 5.3 (release candidate).

pcan_usb_fd.c  (linux-5.3-rc3):pcan_usb_fd.c  (linux-5.3-rc4)
skipping to change at line 844 skipping to change at line 844
int i, err = -ENOMEM; int i, err = -ENOMEM;
/* do this for 1st channel only */ /* do this for 1st channel only */
if (!dev->prev_siblings) { if (!dev->prev_siblings) {
/* allocate netdevices common structure attached to first one */ /* allocate netdevices common structure attached to first one */
pdev->usb_if = kzalloc(sizeof(*pdev->usb_if), GFP_KERNEL); pdev->usb_if = kzalloc(sizeof(*pdev->usb_if), GFP_KERNEL);
if (!pdev->usb_if) if (!pdev->usb_if)
goto err_out; goto err_out;
/* allocate command buffer once for all for the interface */ /* allocate command buffer once for all for the interface */
pdev->cmd_buffer_addr = kmalloc(PCAN_UFD_CMD_BUFFER_SIZE, pdev->cmd_buffer_addr = kzalloc(PCAN_UFD_CMD_BUFFER_SIZE,
GFP_KERNEL); GFP_KERNEL);
if (!pdev->cmd_buffer_addr) if (!pdev->cmd_buffer_addr)
goto err_out_1; goto err_out_1;
/* number of ts msgs to ignore before taking one into account */ /* number of ts msgs to ignore before taking one into account */
pdev->usb_if->cm_ignore_count = 5; pdev->usb_if->cm_ignore_count = 5;
err = pcan_usb_pro_send_req(dev, PCAN_USBPRO_REQ_INFO, err = pcan_usb_pro_send_req(dev, PCAN_USBPRO_REQ_INFO,
PCAN_USBPRO_INFO_FW, PCAN_USBPRO_INFO_FW,
&pdev->usb_if->fw_info, &pdev->usb_if->fw_info,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)