On 13.09.13 at 03:43, KY Srinivasan k...@microsoft.com wrote:
-Original Message-
From: H. Peter Anvin [mailto:h...@zytor.com]
Sent: Thursday, September 12, 2013 5:28 PM
To: KY Srinivasan
Cc: x...@kernel.org; gre...@linuxfoundation.org;
linux-ker...@vger.kernel.org;
There are two places where duplicate code is located. Moreover, there is a
custom implementation of the sscanf() functionality. This patch makes code
quite simplier and cleaner.
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com
---
drivers/staging/silicom/bpctl_mod.c | 188
From: Wei WANG wei_w...@realsil.com.cn
In some platforms, specially Thinkpad series, rts5249 won't be
initialized properly. So we need adjust some phy parameters to
improve the compatibility issue.
It is a little different between simulation and real chip. We have
no idea about which
This patch adds support for authenticating both client and server using
a pre-shared passphrase using SRP (Secure Remote Password) over TLS (see
RFC 5054) using GnuTLS. Both usbip and usbipd now accept a shared secret
as a command line argument. Currently, the established TLS connection is
only
Interpret the ACLs stored in sysfs in usbipd and reject clients not
matching one of the ACLs.
Signed-off-by: Kurt Kanzenbach ly80t...@cip.cs.fau.de
Signed-off-by: Dominik Paulus dominik.pau...@fau.de
Signed-off-by: Tobias Polzer tobias.pol...@fau.de
---
This patch adds a few utility functions to match IP addresses against
CIDR masks.
Signed-off-by: Dominik Paulus dominik.pau...@fau.de
Signed-off-by: Tobias Polzer tobias.pol...@fau.de
---
drivers/staging/usbip/userspace/src/utils.c | 84 +
Not all new program versions necessarily introduce
non-backwards-compatible protocol changes. We thus move the definition
of the protocol version from configure.ac to usbip_network.h, where it
logically belongs to.
Signed-off-by: Dominik Paulus dominik.pau...@fau.de
Signed-off-by: Tobias Polzer
usbip now prints an error message when started as user and requiring
root access. Also, some debug messages are changed to error messages so
the command line utilities now print less confusing (and more verbose)
error messages when not used correctly.
Signed-off-by: Dominik Paulus
This patch adds new error codes and features extended error reporting in
op_common packets.
Signed-off-by: Dominik Paulus dominik.pau...@fau.de
Signed-off-by: Tobias Polzer tobias.pol...@fau.de
---
drivers/staging/usbip/userspace/src/usbip_attach.c | 4 +-
For IPv6, IP:Port is unreadable.
Signed-off-by: Dominik Paulus dominik.pau...@fau.de
Signed-off-by: Tobias Polzer tobias.pol...@fau.de
---
drivers/staging/usbip/userspace/src/usbipd.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/usbip/userspace/src/usbipd.c
On Fri, Sep 13, 2013 at 01:43:09AM +, KY Srinivasan wrote:
-Original Message-
From: H. Peter Anvin [mailto:h...@zytor.com]
Sent: Thursday, September 12, 2013 5:28 PM
To: KY Srinivasan
Cc: x...@kernel.org; gre...@linuxfoundation.org;
linux-ker...@vger.kernel.org;
Signed-off-by: Dominik Paulus dominik.pau...@fau.de
Signed-off-by: Tobias Polzer tobias.pol...@fau.de
---
drivers/staging/usbip/userspace/configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/usbip/userspace/configure.ac
getaddrinfo() leaves the order of the returned addrinfo structs
unspecified. On systems with bindv6only disabled (this is the default),
PF_INET6 sockets bind to IPv4, too. Thus, IPv6 support in usbipd was
broken when getaddrinfo returned first IPv4 and then IPv6 addrinfos, as
the IPv6 bind failed
Add the command line argument -a (--allow) to usbip bind to specify
networks allowed to attach to the device and code to store the ACLs in
sysfs.
Signed-off-by: Kurt Kanzenbach ly80t...@cip.cs.fau.de
Signed-off-by: Dominik Paulus dominik.pau...@fau.de
Signed-off-by: Tobias Polzer
tl;dr -- enable TRIM support for Hyper-V emulated disks.
The Hyper-V hypervisor can support TRIM for its devices, advertising this
via the appropriate VPD pages. However the emulated disks only claim
to be SPC-2 devices. According to the specs VPD pages (in general) did
exist at SPC-2 but the
BugLink: http://bugs.launchpad.net/bugs/1223499
Signed-off-by: Andy Whitcroft a...@canonical.com
---
drivers/scsi/sd.c | 2 ++
include/scsi/scsi_device.h | 1 +
2 files changed, 3 insertions(+)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 5a8a04d..eba4d6c 100644
---
BugLink: http://bugs.launchpad.net/bugs/1223499
Signed-off-by: Andy Whitcroft a...@canonical.com
---
drivers/scsi/storvsc_drv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 14ba8fd..25e7dd5 100644
---
Correct spelling typo in comments
Singend-off-by: Masanari Iida standby2...@gmail.com
---
drivers/staging/dwc2/core.c | 2 +-
drivers/staging/dwc2/hcd_queue.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/dwc2/core.c b/drivers/staging/dwc2/core.c
-Original Message-
From: Gleb Natapov [mailto:g...@redhat.com]
Sent: Friday, September 13, 2013 2:55 AM
To: KY Srinivasan
Cc: H. Peter Anvin; x...@kernel.org; gre...@linuxfoundation.org; linux-
ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de;
Under Hyper-V the disk devices support the trim extensions advertising them
via the appropriate VPD pages, it however reports itself as SPC-2 only.
The relevant pages were added in SPC-3 and later, so we do not even
attempt to see if they are present; the VPD page 0 lists which other
pages are
There is a nice helper to parse MAC. Let's use it and remove custom
implementation.
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com
---
drivers/staging/rtl8712/usb_intf.c | 16 +---
1 file changed, 1 insertion(+), 15 deletions(-)
diff --git
Correct spelling typo in comments.
Signed-off-by: Masanari Iida standby2...@gmail.com
---
drivers/staging/dgap/dgap_downld.h | 2 +-
drivers/staging/dgap/dgap_driver.h | 2 +-
drivers/staging/dgap/dgap_fep5.h | 2 +-
drivers/staging/dgap/dgap_parse.c | 4 ++--
drivers/staging/dgap/dgap_tty.c
On Fri, Sep 13, 2013 at 07:57:58AM -0700, James Bottomley wrote:
This is an awful lot of contortions (which don't seem to have any other
users on the horizon) to support a device that's not standards
compliant. What about this, it's simple, it does the right thing and
it's contained in the
On 13-09-13 08:58 AM, Andy Whitcroft wrote:
tl;dr -- enable TRIM support for Hyper-V emulated disks.
The Hyper-V hypervisor can support TRIM for its devices, advertising this
via the appropriate VPD pages. However the emulated disks only claim
to be SPC-2 devices. According to the specs VPD
Correct spelling typo in comments
Signed-off-by: Masanari Iida standby2...@gmail.com
---
drivers/staging/dgnc/dgnc_driver.h | 2 +-
drivers/staging/dgnc/dgnc_neo.c| 2 +-
drivers/staging/dgnc/dgnc_neo.h| 2 +-
drivers/staging/dgnc/dgnc_tty.c| 4 ++--
drivers/staging/dgnc/digi.h
This moves the state bus attribute to the dev_groups structure,
removing the need for it to be in a temporary structure.
Cc: K. Y. Srinivasan k...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org
---
drivers/hv/channel.c | 1 -
This moves the client_monitor_pending and server_monitor_pending bus
attributes to the dev_groups structure, removing the need for it to be
in a temporary structure.
Cc: K. Y. Srinivasan k...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman
It's only used once, only contains 2 function calls, so just make those
calls directly, deleting the function, and the now unneeded structure
entirely.
Cc: K. Y. Srinivasan k...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org
---
This moves the ringbuffer bus attributes to the dev_groups structure,
deletes the now unneeded struct hv_device_info, and removes some now
unused functions, and variables as everything is now moved to the
dev_groups structure, dev_attrs is no longer needed.
Cc: K. Y. Srinivasan k...@microsoft.com
It's no longer needed, and the struct hv_ring_buffer_debug_info
structure shouldn't be global so move it to the local .h file instead.
Cc: K. Y. Srinivasan k...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org
---
This moves the client_monitor_conn_id and server_monitor_conn_id bus
attributes to the dev_groups structure, removing the need for it to be
in a temporary structure.
Cc: K. Y. Srinivasan k...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman
This moves the state bus attribute to the dev_groups structure.
Cc: K. Y. Srinivasan k...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org
---
drivers/hv/vmbus_drv.c | 17 -
1 file changed, 12 insertions(+), 5
This moves the class_id bus attribute to the dev_groups structure,
removing the need for it to be in a temporary structure.
Cc: K. Y. Srinivasan k...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org
---
drivers/hv/channel.c |
This moves the device_id bus attribute to the dev_groups structure,
removing the need for it to be in a temporary structure.
Cc: K. Y. Srinivasan k...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org
---
drivers/hv/channel.c |
This moves the client_monitor_latency and server_monitor_latency bus
attributes to the dev_groups structure, removing the need for it to be
in a temporary structure.
Cc: K. Y. Srinivasan k...@microsoft.com
Cc: Haiyang Zhang haiya...@microsoft.com
Signed-off-by: Greg Kroah-Hartman
-Original Message-
From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org]
Sent: Friday, September 13, 2013 11:33 AM
To: KY Srinivasan; Haiyang Zhang
Cc: de...@linuxdriverproject.org; linux-ker...@vger.kernel.org
Subject: [PATCH 00/13] hv: clean up dev_attr usage
Hi,
36 matches
Mail list logo