> Date: Thu, 18 Aug 2016 11:40:04 +0200
>
> Some update suggestions were taken into account
> from static source code analysis.
>
> Markus Elfring (5):
> Use memdup_user()
> Less function calls after error detection
> Delete unnecessary initialisations
> Move an assignment for the variabl
Fixes userspace compilation errors like:
scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list before
‘uint64_t’
Signed-off-by: Mikko Rapeli
Cc: linux-scsi@vger.kernel.org
---
include/uapi/scsi/scsi_netlink_fc.h | 16
1 file changed, 8 insertions(+), 8 deletion
Fixes userspace compilation errors like:
scsi/scsi_netlink.h:43:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli
Cc: linux-scsi@vger.kernel.org
---
include/uapi/scsi/scsi_netlink.h | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/incl
Fixes userspace compilation errors like:
scsi/scsi_bsg_fc.h:83:2: error: unknown type name ‘uint8_t’
Signed-off-by: Mikko Rapeli
Cc: linux-scsi@vger.kernel.org
---
include/uapi/scsi/scsi_bsg_fc.h | 54 +
1 file changed, 28 insertions(+), 26 deletions(-)
Dear Christoph,
On 2017-08-05 11:30, Christoph Hellwig wrote:
On Thu, Aug 03, 2017 at 07:42:15PM +0200, Paul Menzel wrote:
Since the merge windows opened for Linux 4.13, I am unable to resume
from
ACPI S3 suspend on a Lenovo X60t. The graphics comes back, but I am
unable
to enter anything,
On Sun, 2017-08-06 at 18:43 +0200, Mikko Rapeli wrote:
> Fixes userspace compilation errors like:
>
> scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list
> before ‘uint64_t’
Rather than patching the kernel, why not #include in your
userspace programme?
James
Hi,
On Sun, Aug 06, 2017 at 11:22:53AM -0700, James Bottomley wrote:
> On Sun, 2017-08-06 at 18:43 +0200, Mikko Rapeli wrote:
> > Fixes userspace compilation errors like:
> >
> > scsi/scsi_netlink_fc.h:60:2: error: expected specifier-qualifier-list
> > before ‘uint64_t’
>
> Rather than patching
From: Nicholas Bellinger
This patch fixes a bug associated with iscsit_reset_np_thread()
that can occur during parallel configfs rmdir of a single iscsi_np
used across multiple iscsi-target instances, that would result in
hung task(s) similar to below where configfs rmdir process context
was bloc
On Sun, 2017-08-06 at 23:42 +0300, Mikko Rapeli wrote:
> Hi,
>
> On Sun, Aug 06, 2017 at 11:22:53AM -0700, James Bottomley wrote:
> >
> > On Sun, 2017-08-06 at 18:43 +0200, Mikko Rapeli wrote:
> > >
> > > Fixes userspace compilation errors like:
> > >
> > > scsi/scsi_netlink_fc.h:60:2: error: e
This patch series improves 'charger_manager_probe()'. The first patch is
about a missing memory allocation failure test.
The 2 others are just things spotted in this function:
- a comment that is no more up to date
- a style issue (which saves 1 line)
Christophe JAILLET (3):
power: supply:
In the lines above this test, 8 'kzalloc' are performed, but only 7 results
are tested.
Add the missing one (i.e. '!ioc->port_enable_cmds.reply').
Signed-off-by: Christophe JAILLET
---
drivers/scsi/mpt3sas/mpt3sas_base.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
On Tue, 2017-08-01 at 23:09 +0300, Dan Carpenter wrote:
> Calling list_del() on the iterator pointer in list_for_each_entry() will
> cause an oops. We need to user the _safe() version for that.
>
> Fixes: c73d02f63c16 ("tcmu: Add fifo type waiter list support to avoid
> starvation")
> Signed-off
2017-07-30 17:43 GMT+09:00 Arvind Yadav :
>
> pci_device_id are not supposed to change at runtime. All functions
> working with pci_device_id provided by work with
> const pci_device_id. So mark the non-const structs as const.
>
> Signed-off-by: Arvind Yadav
Thank you! (resending it twice due t
On 08/05/2017 01:35 PM, Christoph Hellwig wrote:
>> error = scsi_dh_add_device(sdev);
>> -if (error)
>> -/*
>> - * device_handler is optional, so any error can be ignored
>> - */
>> -sdev_printk(KERN_INFO, sdev,
>> -
On Sun, Aug 06, 2017 at 03:09:21PM -0700, James Bottomley wrote:
> On Sun, 2017-08-06 at 23:42 +0300, Mikko Rapeli wrote:
> > Hi,
> >
> > On Sun, Aug 06, 2017 at 11:22:53AM -0700, James Bottomley wrote:
> > >
> > > On Sun, 2017-08-06 at 18:43 +0200, Mikko Rapeli wrote:
> > > >
> > > > Fixes user
On 08/05/2017 01:39 PM, Christoph Hellwig wrote:
> Can you use normal linux style for the code instead of copy and
> pasting the weird naming and capitalization from the DAC960 driver?
>
Yes; already planned for v2. But first wanted to get some general
feedback (like: is anyone interested in that
Chistoph,
On 8/5/17 20:34, Christoph Hellwig wrote:
> We'll need a blk-mq version as well, otherwise: NAK.
Not that I have not tried, but I do not see how this is possible without
in the end making blk-mq/scsi-mq for a ZBC disk work exactly like the sq
path, that is adding locks/barriers in many
Hi!
I've also reproduced this issue on this kernel
Linux desktop 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20
10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Each one second, my program reads /sys/block/$DEVICE/stat.
It substracts previously saved values, then saves c
18 matches
Mail list logo