History

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net

Conflicts: drivers/net/ethernet/emulex/benet/be_main.c net/core/sysctl_net_core.c net/ipv4/inet_diag.c The be_main.c conflict resolution was really tricky. The conflict hunks generated by GIT were very unhelpful, to say the least. It split functions in half and moved them around, when the real actual conflict only existed solely inside of one function, that being be_map_pci_bars(). So instead, to resolve this, I checked out be_main.c from the top of net-next, then I applied the be_main.c changes from 'net' since the last time I merged. And this worked beautifully. The inet_diag.c and sysctl_net_core.c conflicts were simple overlapping changes, and were easily to resolve.

David S. Miller committed 11 years ago

Commit 0fa74a42 parents 6626af6 4de930e348 files · +3792 −1868Browse files

Showing the changes to include/uapi (2 of 348 files). Show all

Unified · Split

2 files
  1. include/uapi/linux/virtio_blk.h +6 −2
  2. include/uapi/linux/virtio_scsi.h +10 −2
include/uapi/linux/virtio_blk.h+6−2
@@ -60,7 +60,7 @@ struct virtio_blk_config { · 59 unmodified lines
6060 __u32 size_max;
6161 /* The maximum number of segments (if VIRTIO_BLK_F_SEG_MAX) */
6262 __u32 seg_max;
63− /* geometry the device (if VIRTIO_BLK_F_GEOMETRY) */
63+ /* geometry of the device (if VIRTIO_BLK_F_GEOMETRY) */
6464 struct virtio_blk_geometry {
6565 __u16 cylinders;
6666 __u8 heads;
@@ -119,7 +119,11 @@ struct virtio_blk_config { · 52 unmodified lines
119119 #define VIRTIO_BLK_T_BARRIER 0x80000000
120120 #endif /* !VIRTIO_BLK_NO_LEGACY */
121121
122−/* This is the first element of the read scatter-gather list. */
122+/*
123+ * This comes first in the read scatter-gather list.
124+ * For legacy virtio, if VIRTIO_F_ANY_LAYOUT is not negotiated,
125+ * this is the first element of the read scatter-gather list.
126+ */
123127 struct virtio_blk_outhdr {
124128 /* VIRTIO_BLK_T* */
125129 __virtio32 type;
include/uapi/linux/virtio_scsi.h+10−2
@@ -29,8 +29,16 @@ · 28 unmodified lines
2929
3030 #include <linux/virtio_types.h>
3131
32−#define VIRTIO_SCSI_CDB_SIZE 32
33−#define VIRTIO_SCSI_SENSE_SIZE 96
32+/* Default values of the CDB and sense data size configuration fields */
33+#define VIRTIO_SCSI_CDB_DEFAULT_SIZE 32
34+#define VIRTIO_SCSI_SENSE_DEFAULT_SIZE 96
35+
36+#ifndef VIRTIO_SCSI_CDB_SIZE
37+#define VIRTIO_SCSI_CDB_SIZE VIRTIO_SCSI_CDB_DEFAULT_SIZE
38+#endif
39+#ifndef VIRTIO_SCSI_SENSE_SIZE
40+#define VIRTIO_SCSI_SENSE_SIZE VIRTIO_SCSI_SENSE_DEFAULT_SIZE
41+#endif
3442
3543 /* SCSI command request, followed by data-out */
3644 struct virtio_scsi_cmd_req {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t