diffofdiffs

Patch mode: comparisons use only the source lines quoted in the patches.

Backport patch: backport.patch
Upstream patch: upstream.patch
Viewing options

Within aligned pairs: left text / right text that differs, independently of patch signs. Whitespace uses the same colors: separate space blocks distinguish spaces from tabs; tabs fill their tab stops. Hover for details.

Delta differences

Code changes that differ between the patches. Old / new are each patch’s parent / result line numbers. Signs belong to that patch. Shared edits are additions or removals both patches make.

request.crequest.c

oldnew
oldnew
33 int ret = -EAGAIN;
44
44
55 if (req->ready) {
55 if (!req->ready)
66 return -EAGAIN;
+6 req->attempts++;
+7 req->attempts++;
+7 trace_submit(req);
+8 trace_submit(req);
68 ret = queue_request(req);
79 ret = queue_request(req);
79 if (!ret)
810 if (!ret)
810 req->submitted = true;
911 req->submitted = true;

counter.ccounter.c

oldnew
oldnew
static void reset_counter(struct counter *counter)
static void reset_counter(struct counter *counter)
11static void reset_counter(struct counter *counter)
11static void reset_counter(struct counter *counter)
22{
22{
+3 counter->generation++;
+3 counter->generation++;
34 counter->value = 0;
34 counter->value = 0;
45}
45}

Context differences

Surrounding code in the results. Signs mark lines present in only one result: − left, + right.

request.crequest.c

new
new
4
4
-5 if (req->ready) {
+5 if (!req->ready)
+6 return -EAGAIN;
-6 req->attempts++;
+7 req->attempts++;
-7 trace_submit(req);
+8 trace_submit(req);
-8 ret = queue_request(req);
+9 ret = queue_request(req);
-9 if (!ret)
+10 if (!ret)
-10 req->submitted = true;
+11 req->submitted = true;