Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'firewire-update' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394

Pull firewire updates from Stefan Richter:

- Migrate the bus snooper driver 'nosy' from PCI to DMA API

- Small janitorial cleanup in the IPv4/v6-over-1394 driver

[ The 'nosy' change already come in as a different commit through Greg
KH in the misc tree back in the previous merge window, so only the
cleanup ends up being new to 5.15 - Linus ]

* tag 'firewire-update' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394:
firewire: nosy: switch from 'pci_' to 'dma_' API
firewire: net: remove unused variable 'guid'

-4
-4
drivers/firewire/net.c
··· 488 488 struct sk_buff *skb, u16 source_node_id, 489 489 bool is_broadcast, u16 ether_type) 490 490 { 491 - struct fwnet_device *dev; 492 491 int status; 493 - __be64 guid; 494 492 495 493 switch (ether_type) { 496 494 case ETH_P_ARP: ··· 501 503 goto err; 502 504 } 503 505 504 - dev = netdev_priv(net); 505 506 /* Write metadata, and then pass to the receive level */ 506 507 skb->dev = net; 507 508 skb->ip_summed = CHECKSUM_NONE; ··· 509 512 * Parse the encapsulation header. This actually does the job of 510 513 * converting to an ethernet-like pseudo frame header. 511 514 */ 512 - guid = cpu_to_be64(dev->card->guid); 513 515 if (dev_hard_header(skb, net, ether_type, 514 516 is_broadcast ? net->broadcast : net->dev_addr, 515 517 NULL, skb->len) >= 0) {