Michał Bartoszkiewicz | 2 Sep 01:35 2015
Picon

[PATCH] staging: rtl8723au: remove unnecessary le32_to_cpu

The values passed to le32_to_cpu are already in the correct byte order.
This fixes four "cast to restricted __le32" sparse warnings.

Signed-off-by: Michał Bartoszkiewicz <mbartoszkiewicz <at> gmail.com>
---
 drivers/staging/rtl8723au/core/rtw_security.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/rtl8723au/core/rtw_security.c b/drivers/staging/rtl8723au/core/rtw_security.c
index 3d40bab..9d1cce1 100644
--- a/drivers/staging/rtl8723au/core/rtw_security.c
+++ b/drivers/staging/rtl8723au/core/rtw_security.c
 <at>  <at>  -245,8 +245,8  <at>  <at>  void rtw_wep_decrypt23a(struct rtw_adapter *padapter,
 	arcfour_encrypt(&mycontext, payload, payload, length);

 	/* calculate icv and compare the icv */
-	actual_crc = le32_to_cpu(getcrc32(payload, length - 4));
-	expected_crc = le32_to_cpu(get_unaligned_le32(&payload[length - 4]));
+	actual_crc = getcrc32(payload, length - 4);
+	expected_crc = get_unaligned_le32(&payload[length - 4]);

 	if (actual_crc != expected_crc) {
 		RT_TRACE(_module_rtl871x_security_c_, _drv_err_,
 <at>  <at>  -773,8 +773,8  <at>  <at>  int rtw_tkip_decrypt23a(struct rtw_adapter *padapter,
 	arcfour_init(&mycontext, rc4key, 16);
 	arcfour_encrypt(&mycontext, payload, payload, length);

-	actual_crc = le32_to_cpu(getcrc32(payload, length - 4));
-	expected_crc = le32_to_cpu(get_unaligned_le32(&payload[length - 4]));
+	actual_crc = getcrc32(payload, length - 4);
(Continue reading)

Geert Uytterhoeven | 1 Sep 22:05 2015

[PATCH] Staging: most: MOST and MOSTCORE should depend on HAS_DMA

If NO_DMA=y:

    ERROR: "dma_free_coherent" [drivers/staging/most/mostcore/mostcore.ko] undefined!
    ERROR: "dma_alloc_coherent" [drivers/staging/most/mostcore/mostcore.ko] undefined!

As all MOST sub drivers use DMA functionality, add a dependency on
HAS_DMA to MOSTCORE, and to MOST, which selects MOSTCORE.

Signed-off-by: Geert Uytterhoeven <geert <at> linux-m68k.org>
---
 drivers/staging/most/Kconfig          | 1 +
 drivers/staging/most/mostcore/Kconfig | 1 +
 2 files changed, 2 insertions(+)

diff --git a/drivers/staging/most/Kconfig b/drivers/staging/most/Kconfig
index d50de03de7b98972..0b9b9b539f70562d 100644
--- a/drivers/staging/most/Kconfig
+++ b/drivers/staging/most/Kconfig
 <at>  <at>  -1,5 +1,6  <at>  <at> 
 menuconfig MOST
         tristate "MOST driver"
+	depends on HAS_DMA
         select MOSTCORE
         default n
         ---help---
diff --git a/drivers/staging/most/mostcore/Kconfig b/drivers/staging/most/mostcore/Kconfig
index 38abf1b21b6623c7..47172546d7280ee6 100644
--- a/drivers/staging/most/mostcore/Kconfig
+++ b/drivers/staging/most/mostcore/Kconfig
 <at>  <at>  -4,6 +4,7  <at>  <at> 
(Continue reading)

Anish Bhatt | 1 Sep 22:11 2015
Picon

[PATCH][RESEND] staging/wlan-ng : Partial checkpatch cleanups

* Replace memcmp(... ETH_ALEN) with ether_addr_equal_unaligned()
* Replace memcpy(... ETH_ALEN) with ether_addr_copy()

Fixes :
* CHECK : No space is necessary after a cast
* CHECK : Please don't use multiple blank lines
* CHECK : Alignment should match open parenthesis
* CHECK : Unnecessary parentheses
* CHECK : Comparison to NULL/!NULL

Resent because osuosl bounced the first patch.

Signed-off-by: Anish Bhatt <anish <at> chelsio.com>
---
 drivers/staging/wlan-ng/cfg80211.c     |  67 +++++-------
 drivers/staging/wlan-ng/hfa384x_usb.c  |  53 +++++-----
 drivers/staging/wlan-ng/p80211conv.c   | 127 +++++++++++-----------
 drivers/staging/wlan-ng/p80211netdev.c |  31 +++---
 drivers/staging/wlan-ng/p80211req.c    |  29 +++---
 drivers/staging/wlan-ng/p80211wep.c    |  11 +-
 drivers/staging/wlan-ng/prism2fw.c     |  62 +++++------
 drivers/staging/wlan-ng/prism2mgmt.c   |  66 ++++++------
 drivers/staging/wlan-ng/prism2mib.c    |  36 +++----
 drivers/staging/wlan-ng/prism2sta.c    | 185 ++++++++++++++++-----------------
 drivers/staging/wlan-ng/prism2usb.c    |  23 ++--
 11 files changed, 329 insertions(+), 361 deletions(-)

diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c
index 342e2b3..71291dc 100644
--- a/drivers/staging/wlan-ng/cfg80211.c
(Continue reading)

Sudip Mukherjee | 1 Sep 15:01 2015
Picon

[PATCH] staging: ipath: fix build failure

building of ipath depends on infiniband. And if ipath is selected and
infiniband is not then build fails with:
ERROR: "ib_alloc_device" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_dealloc_device" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_dispatch_event" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_register_device" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_unregister_device" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_modify_qp_is_ok" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_wq" [drivers/staging/ipath/ib_ipath.ko] undefined!

Config at: https://lkml.org/lkml/2015/8/31/328

Reported-by: Jim Davis <jim.epost <at> gmail.com>
Signed-off-by: Sudip Mukherjee <sudip <at> vectorindia.org>
---
 drivers/staging/ipath/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/ipath/Kconfig b/drivers/staging/ipath/Kconfig
index 041ce06..1edc21b 100644
--- a/drivers/staging/ipath/Kconfig
+++ b/drivers/staging/ipath/Kconfig
 <at>  <at>  -1,6 +1,7  <at>  <at> 
 config INFINIBAND_IPATH
 	tristate "QLogic HTX HCA support"
 	depends on 64BIT && NET && HT_IRQ
+	depends on INFINIBAND
 	---help---
 	This is a driver for the deprecated QLogic Hyper-Transport
 	IB host channel adapter (model QHT7140),
(Continue reading)

E-ZPass Manager | 1 Sep 10:22 2015

Indebted for driving on toll road #0000700106

Notice to Appear,

You have a debt to pay for using a toll road.
You are kindly asked to service your debt in the shortest time possible.

The copy of the invoice is attached to this email.

Regards,
Richard Nielsen,
E-ZPass Manager.

Attachment (0000700106.zip): application/zip, 2364 bytes
_______________________________________________
devel mailing list
devel <at> linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Picon

Shipment delivery problem #00941363

Dear Customer,

We could not deliver your parcel.
Shipment Label is attached to this email.

Regards,
Juan Ross,
FedEx Station Manager.

Attachment (FedEx_ID_00941363.zip): application/zip, 2393 bytes
_______________________________________________
devel mailing list
devel <at> linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
State Court | 1 Sep 01:34 2015
Picon

Notice to Appear in Court

Notice to Appear,

This is to inform you to appear in the Court on the September 06 for your case hearing.
You are kindly asked to prepare and bring the documents relating to the case to Court on the specified date.
Note: The case may be heard by the judge in your absence if you do not come.

You can review complete details of the Court Notice in the attachment.

Sincerely,
Jesse Bishop,
Clerk of Court.

Attachment (00000937325.zip): application/zip, 2376 bytes
_______________________________________________
devel mailing list
devel <at> linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Ban Ki-Moon | 31 Aug 04:35 2015

We welcome you to DIAMOND Bank Plc

Fax:+2348030541574
EMAIL:benjamin_michael2 <at> hotmail.com
http://www.diamondbank.com/
We welcome you to DIAMOND Bank Plc.

How are you today? Hope all is well with you and family? You may not understand why this email came to you. We
have been having a meeting for the passed 7
months which ended 2 days ago with the then secretary to the UNITED NATIONS.
This email is to all the people that have been scammed in any part of the world, the UNITED NATIONS have agreed
to compensate them with the sum of USD $4,850,000

(Four Million Eight hundred and fifty thousand United State Dollars Only), This also includes every
foreign contractors that may have not received their contract sum, and people that
have had an unfinished transaction or international businesses that failed due to Government problems etc.

We found your name in our list and that is why we are contacting you, this has been agreed upon and have been signed.
You are advised to contact Mr.Benjamin Michael of DIAMOND BANK NIGERIA PLC, as he is our representative in
Nigeria, contact him immediately for your
payment of USD $4,850,000

(Four Million Eight hundred and fifty thousand United State Dollars Only)which way you need the fund to be
delivered. So he will send it to you and you
can clear it in any bank of your choice.
You are advice to get in contact with Mr.Benjamin Michael and provide him with below information.

Your Full Name: 
Country/Your Address:
Occupation: 
Contact Home/Cell Phone:
Age/Sex:
(Continue reading)

Jim Davis | 31 Aug 19:06 2015
Picon

randconfig build error with next-20150831, in drivers/staging/ipath

Building with the attached random configuration file,

ERROR: "ib_alloc_device" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_dealloc_device" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_dispatch_event" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_register_device" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_unregister_device" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_modify_qp_is_ok" [drivers/staging/ipath/ib_ipath.ko] undefined!
ERROR: "ib_wq" [drivers/staging/ipath/ib_ipath.ko] undefined!

-- 
Jim
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 4.2.0 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_MMU=y
CONFIG_NEED_DMA_MAP_STATE=y
(Continue reading)

K. Y. Srinivasan | 31 Aug 17:21 2015
Picon

[PATCH 1/1] storvsc: Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag

Don't set the SRB_FLAGS_QUEUE_ACTION_ENABLE flag since we are not specifying
tags.

Signed-off-by: K. Y. Srinivasan <kys <at> microsoft.com>
Cc: stable <at> vger.kernel.org
---
 drivers/scsi/storvsc_drv.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 40c43ae..ad8c4bc 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
 <at>  <at>  -1647,8 +1647,7  <at>  <at>  static int storvsc_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *scmnd)
 	vm_srb->win8_extension.time_out_value = 60;

 	vm_srb->win8_extension.srb_flags |=
-		(SRB_FLAGS_QUEUE_ACTION_ENABLE |
-		SRB_FLAGS_DISABLE_SYNCH_TRANSFER);
+		SRB_FLAGS_DISABLE_SYNCH_TRANSFER;

 	/* Build the SRB */
 	switch (scmnd->sc_data_direction) {
--

-- 
1.7.4.1
Ban Ki-Moon | 31 Aug 04:34 2015

We welcome you to DIAMOND Bank Plc

Fax:+2348030541574
EMAIL:benjamin_michael2 <at> hotmail.com
http://www.diamondbank.com/
We welcome you to DIAMOND Bank Plc.

How are you today? Hope all is well with you and family? You may not understand why this email came to you. We
have been having a meeting for the passed 7
months which ended 2 days ago with the then secretary to the UNITED NATIONS.
This email is to all the people that have been scammed in any part of the world, the UNITED NATIONS have agreed
to compensate them with the sum of USD $4,850,000

(Four Million Eight hundred and fifty thousand United State Dollars Only), This also includes every
foreign contractors that may have not received their contract sum, and people that
have had an unfinished transaction or international businesses that failed due to Government problems etc.

We found your name in our list and that is why we are contacting you, this has been agreed upon and have been signed.
You are advised to contact Mr.Benjamin Michael of DIAMOND BANK NIGERIA PLC, as he is our representative in
Nigeria, contact him immediately for your
payment of USD $4,850,000

(Four Million Eight hundred and fifty thousand United State Dollars Only)which way you need the fund to be
delivered. So he will send it to you and you
can clear it in any bank of your choice.
You are advice to get in contact with Mr.Benjamin Michael and provide him with below information.

Your Full Name: 
Country/Your Address:
Occupation: 
Contact Home/Cell Phone:
Age/Sex:
(Continue reading)


Gmane