All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <1497680595.10546.34.camel@perches.com>

diff --git a/a/1.txt b/N1/1.txt
index 9b7ddd7..57cbc01 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -183,7 +183,7 @@ diff -u -p ./drivers/net/ethernet/atheros/atl1c/atl1c_main.c /tmp/nothing/driver
 -		length = le16_to_cpu((rrs->word3 >> RRS_PKT_SIZE_SHIFT) &
  				RRS_PKT_SIZE_MASK);
  		/* Good Receive */
- 		if (likely(rfd_num = 1)) {
+ 		if (likely(rfd_num == 1)) {
 -			rfd_index = (rrs->word0 >> RRS_RX_RFD_INDEX_SHIFT) &
  					RRS_RX_RFD_INDEX_MASK;
  			buffer_info = &rfd_ring->buffer_info[rfd_index];
@@ -202,7 +202,8 @@ diff -u -p ./drivers/net/ethernet/atheros/atl1e/atl1e_main.c /tmp/nothing/driver
 @@ -1477,7 +1476,6 @@ static void atl1e_clean_rx_irq(struct at
  skip_pkt:
  	/* skip current packet whether it's ok or not. */
- 			rx_page->read_offset +-				(((u32)((prrs->word1 >> RRS_PKT_SIZE_SHIFT) &
+ 			rx_page->read_offset +=
+-				(((u32)((prrs->word1 >> RRS_PKT_SIZE_SHIFT) &
  				RRS_PKT_SIZE_MASK) +
  				sizeof(struct atl1e_recv_ret_status) + 31) &
  						0xFFFFFFE0);
@@ -277,7 +278,7 @@ diff -u -p ./drivers/net/ethernet/qlogic/netxen/netxen_nic_init.c /tmp/nothing/d
  	} else
  		return cpu_to_le32(*(u32 *)&fw->data[NX_FW_VERSION_OFFSET]);
 @@ -877,8 +876,6 @@ nx_get_bios_version(struct netxen_adapte
- 	if (adapter->fw_type = NX_UNIFIED_ROMIMAGE) {
+ 	if (adapter->fw_type == NX_UNIFIED_ROMIMAGE) {
  		bios_ver = cpu_to_le32(*((u32 *) (&fw->data[prd_off])
  						+ NX_UNI_BIOS_VERSION_OFF));
 -		return (bios_ver << 16) + ((bios_ver >> 8) & 0xff00) +
@@ -300,7 +301,7 @@ diff -u -p ./drivers/crypto/sunxi-ss/sun4i-ss-hash.c /tmp/nothing/drivers/crypto
 --- ./drivers/crypto/sunxi-ss/sun4i-ss-hash.c
 +++ /tmp/nothing/drivers/crypto/sunxi-ss/sun4i-ss-hash.c
 @@ -434,7 +434,6 @@ hash_final:
- 	if (op->mode = SS_OP_SHA1) {
+ 	if (op->mode == SS_OP_SHA1) {
  		bits = cpu_to_be64(op->byte_count << 3);
  		bf[j++] = bits & 0xffffffff;
 -		bf[j++] = (bits >> 32) & 0xffffffff;
@@ -317,7 +318,7 @@ diff -u -p ./drivers/staging/rtl8723bs/core/rtw_wlan_util.c /tmp/nothing/drivers
 -				ipaddress[1] = (my_ifa_list->ifa_address >> 8) & 0xFF;
 -				ipaddress[2] = (my_ifa_list->ifa_address >> 16) & 0xFF;
 -				ipaddress[3] = my_ifa_list->ifa_address >> 24;
- 				DBG_871X("%s: %d.%d.%d.%d =====\n", __func__,
+ 				DBG_871X("%s: %d.%d.%d.%d ==========\n", __func__,
  						ipaddress[0], ipaddress[1], ipaddress[2], ipaddress[3]);
  				memcpy(pcurrentip, ipaddress, 4);
 diff -u -p ./drivers/staging/typec/fusb302/fusb302.c /tmp/nothing/drivers/staging/typec/fusb302/fusb302.c
@@ -332,8 +333,3 @@ diff -u -p ./drivers/staging/typec/fusb302/fusb302.c /tmp/nothing/drivers/stagin
  	len -= 2;
  	memcpy(&buf[pos], msg->payload, len);
 Segmentation fault (core dumped)
-
---
-To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
-the body of a message to majordomo@vger.kernel.org
-More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff --git a/a/content_digest b/N1/content_digest
index c7a005c..ee5e103 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -5,7 +5,7 @@
  "ref\0alpine.DEB.2.20.1706170753570.2045@hadrien\0"
  "From\0Joe Perches <joe@perches.com>\0"
  "Subject\0Re: endian bitshift defects [ was: staging: fusb302: don't bitshift __le16 type ]\0"
- "Date\0Sat, 17 Jun 2017 06:23:15 +0000\0"
+ "Date\0Fri, 16 Jun 2017 23:23:15 -0700\0"
  "To\0Julia Lawall <julia.lawall@lip6.fr>\0"
  "Cc\0Frans Klaver <fransklaver@gmail.com>"
   Greg Kroah-Hartman <gregkh@linuxfoundation.org>
@@ -204,7 +204,7 @@
  "-\t\tlength = le16_to_cpu((rrs->word3 >> RRS_PKT_SIZE_SHIFT) &\n"
  " \t\t\t\tRRS_PKT_SIZE_MASK);\n"
  " \t\t/* Good Receive */\n"
- " \t\tif (likely(rfd_num = 1)) {\n"
+ " \t\tif (likely(rfd_num == 1)) {\n"
  "-\t\t\trfd_index = (rrs->word0 >> RRS_RX_RFD_INDEX_SHIFT) &\n"
  " \t\t\t\t\tRRS_RX_RFD_INDEX_MASK;\n"
  " \t\t\tbuffer_info = &rfd_ring->buffer_info[rfd_index];\n"
@@ -223,7 +223,8 @@
  "@@ -1477,7 +1476,6 @@ static void atl1e_clean_rx_irq(struct at\n"
  " skip_pkt:\n"
  " \t/* skip current packet whether it's ok or not. */\n"
- " \t\t\trx_page->read_offset +-\t\t\t\t(((u32)((prrs->word1 >> RRS_PKT_SIZE_SHIFT) &\n"
+ " \t\t\trx_page->read_offset +=\n"
+ "-\t\t\t\t(((u32)((prrs->word1 >> RRS_PKT_SIZE_SHIFT) &\n"
  " \t\t\t\tRRS_PKT_SIZE_MASK) +\n"
  " \t\t\t\tsizeof(struct atl1e_recv_ret_status) + 31) &\n"
  " \t\t\t\t\t\t0xFFFFFFE0);\n"
@@ -298,7 +299,7 @@
  " \t} else\n"
  " \t\treturn cpu_to_le32(*(u32 *)&fw->data[NX_FW_VERSION_OFFSET]);\n"
  "@@ -877,8 +876,6 @@ nx_get_bios_version(struct netxen_adapte\n"
- " \tif (adapter->fw_type = NX_UNIFIED_ROMIMAGE) {\n"
+ " \tif (adapter->fw_type == NX_UNIFIED_ROMIMAGE) {\n"
  " \t\tbios_ver = cpu_to_le32(*((u32 *) (&fw->data[prd_off])\n"
  " \t\t\t\t\t\t+ NX_UNI_BIOS_VERSION_OFF));\n"
  "-\t\treturn (bios_ver << 16) + ((bios_ver >> 8) & 0xff00) +\n"
@@ -321,7 +322,7 @@
  "--- ./drivers/crypto/sunxi-ss/sun4i-ss-hash.c\n"
  "+++ /tmp/nothing/drivers/crypto/sunxi-ss/sun4i-ss-hash.c\n"
  "@@ -434,7 +434,6 @@ hash_final:\n"
- " \tif (op->mode = SS_OP_SHA1) {\n"
+ " \tif (op->mode == SS_OP_SHA1) {\n"
  " \t\tbits = cpu_to_be64(op->byte_count << 3);\n"
  " \t\tbf[j++] = bits & 0xffffffff;\n"
  "-\t\tbf[j++] = (bits >> 32) & 0xffffffff;\n"
@@ -338,7 +339,7 @@
  "-\t\t\t\tipaddress[1] = (my_ifa_list->ifa_address >> 8) & 0xFF;\n"
  "-\t\t\t\tipaddress[2] = (my_ifa_list->ifa_address >> 16) & 0xFF;\n"
  "-\t\t\t\tipaddress[3] = my_ifa_list->ifa_address >> 24;\n"
- " \t\t\t\tDBG_871X(\"%s: %d.%d.%d.%d =====\\n\", __func__,\n"
+ " \t\t\t\tDBG_871X(\"%s: %d.%d.%d.%d ==========\\n\", __func__,\n"
  " \t\t\t\t\t\tipaddress[0], ipaddress[1], ipaddress[2], ipaddress[3]);\n"
  " \t\t\t\tmemcpy(pcurrentip, ipaddress, 4);\n"
  "diff -u -p ./drivers/staging/typec/fusb302/fusb302.c /tmp/nothing/drivers/staging/typec/fusb302/fusb302.c\n"
@@ -352,11 +353,6 @@
  " \n"
  " \tlen -= 2;\n"
  " \tmemcpy(&buf[pos], msg->payload, len);\n"
- "Segmentation fault (core dumped)\n"
- "\n"
- "--\n"
- "To unsubscribe from this list: send the line \"unsubscribe kernel-janitors\" in\n"
- "the body of a message to majordomo@vger.kernel.org\n"
- More majordomo info at  http://vger.kernel.org/majordomo-info.html
+ Segmentation fault (core dumped)
 
-6487709aa4ebc34fa0bf0e0c43e31817844682c499cb2eac395a5393d73df177
+2649851d15a47b9fe70a475343814f337e5ce3b5fc36a7ba269a8422a28b2a76

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.