Since tty_port_install() always returns 0, the return type has changed
to void. Now apply this and remove the obsolete error check.
Signed-off-by: Jaejoong Kim
---
drivers/tty/synclinkmp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/synclinkmp.c b/drivers
Since tty_port_install() always returns 0, the return type has changed
to void. Now apply this and remove the obsolete error check.
Signed-off-by: Jaejoong Kim
---
drivers/tty/synclinkmp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/synclinkmp.c b/drivers
Since tty_port_install() always returns 0, the return type has changed
to void. Now apply this and remove the obsolete error check.
Signed-off-by: Jaejoong Kim
---
drivers/tty/vt/vt.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt
Since tty_port_install() always returns 0, the return type has changed
to void. Now apply this and remove the obsolete error check.
Signed-off-by: Jaejoong Kim
---
drivers/tty/hvc/hvcs.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/tty/hvc/hvcs.c b
Since tty_port_install() always returns 0, the return type has changed
to void. Now apply this and remove the obsolete error check.
Signed-off-by: Jaejoong Kim
---
drivers/tty/vt/vt.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt
Since tty_port_install() always returns 0, the return type has changed
to void. Now apply this and remove the obsolete error check.
Signed-off-by: Jaejoong Kim
---
drivers/tty/hvc/hvcs.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/tty/hvc/hvcs.c b
2018-01-17 22:07 GMT+09:00 Peter Oberparleiter <ober...@linux.vnet.ibm.com>:
> On 09.01.2018 06:17, Jaejoong Kim wrote:
>> 2017-12-20 16:09 GMT+09:00 Jaejoong Kim <climbbb@gmail.com>:
>>> Ignore the *.gcda files generated by gcov
>>>
>>> Si
2018-01-17 22:07 GMT+09:00 Peter Oberparleiter :
> On 09.01.2018 06:17, Jaejoong Kim wrote:
>> 2017-12-20 16:09 GMT+09:00 Jaejoong Kim :
>>> Ignore the *.gcda files generated by gcov
>>>
>>> Signed-off-by: Jaejoong Kim
>>> ---
>>> .gitignore
Hi, Peter
Could you check this patch?
Thanks,
Jaejoong
2017-12-20 16:09 GMT+09:00 Jaejoong Kim <climbbb@gmail.com>:
> Ignore the *.gcda files generated by gcov
>
> Signed-off-by: Jaejoong Kim <climbbb@gmail.com>
> ---
> .gitignore | 1 +
> 1 file changed,
Hi, Peter
Could you check this patch?
Thanks,
Jaejoong
2017-12-20 16:09 GMT+09:00 Jaejoong Kim :
> Ignore the *.gcda files generated by gcov
>
> Signed-off-by: Jaejoong Kim
> ---
> .gitignore | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/.gitignore b/.g
Ignore the *.gcda files generated by gcov
Signed-off-by: Jaejoong Kim <climbbb@gmail.com>
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 0c39aa2..580ef7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,6 +39,7 @@ Module.symvers
*.dwo
Ignore the *.gcda files generated by gcov
Signed-off-by: Jaejoong Kim
---
.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitignore b/.gitignore
index 0c39aa2..580ef7c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,6 +39,7 @@ Module.symvers
*.dwo
*.su
*.c.[012]*.*
+*.gcda
Hi,
[PATCH] media: av7110: switch to useing timer_setup()
^^^
typo error.
2017-10-25 9:40 GMT+09:00 Dmitry Torokhov :
> In preparation for unconditionally passing the struct timer_list pointer to
> all timer
Hi,
[PATCH] media: av7110: switch to useing timer_setup()
^^^
typo error.
2017-10-25 9:40 GMT+09:00 Dmitry Torokhov :
> In preparation for unconditionally passing the struct timer_list pointer to
> all timer callbacks, switch to using
Hi,
To. Jiri, Alan,
Could you please review this patch?
To. Andey,
Could you please test with this patch for KASAN OOB error?
Thanks, jaejoong
2017-09-28 19:16 GMT+09:00 Jaejoong Kim <climbbb@gmail.com>:
> The hid descriptor identifies the length and type of subordinate
>
Hi,
To. Jiri, Alan,
Could you please review this patch?
To. Andey,
Could you please test with this patch for KASAN OOB error?
Thanks, jaejoong
2017-09-28 19:16 GMT+09:00 Jaejoong Kim :
> The hid descriptor identifies the length and type of subordinate
> descriptors for a
Hi
2017-10-04 18:01 GMT+09:00 Johan Hovold :
> A clean-up patch removing removing two redundant NULL-checks from the
^^
The word 'removing' was written twice. :)
> console disconnect handler inadvertently also removed a third
Hi
2017-10-04 18:01 GMT+09:00 Johan Hovold :
> A clean-up patch removing removing two redundant NULL-checks from the
^^
The word 'removing' was written twice. :)
> console disconnect handler inadvertently also removed a third check.
> This could
d.c:231
ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:431
Reported-by: Andrey Konovalov <andreyk...@google.com>
Signed-off-by: Jaejoong Kim <climbbb@gmail.com>
---
Changes in v2:
- write a new commit message because orginal version is wrong approach
- add check hid descri
d.c:231
ret_from_fork+0x2a/0x40 arch/x86/entry/entry_64.S:431
Reported-by: Andrey Konovalov
Signed-off-by: Jaejoong Kim
---
Changes in v2:
- write a new commit message because orginal version is wrong approach
- add check hid descriptor size
- get proper value for bNumDescriptors as sugges
2017-09-27 23:29 GMT+09:00 Alan Stern :
> On Wed, 27 Sep 2017, Michel Hermier wrote:
>
>> Le 27 sept. 2017 07:42, "Alan Stern" a écrit :
>
>> > - for (n = 0; n < hdesc->bNumDescriptors; n++)
>> > + num_descriptors = min_t(int,
2017-09-27 23:29 GMT+09:00 Alan Stern :
> On Wed, 27 Sep 2017, Michel Hermier wrote:
>
>> Le 27 sept. 2017 07:42, "Alan Stern" a écrit :
>
>> > - for (n = 0; n < hdesc->bNumDescriptors; n++)
>> > + num_descriptors = min_t(int, hdesc->bNumDescriptors,
>> > +
Hi, Alan,
Thanks for the review.
2017-09-26 23:18 GMT+09:00 Alan Stern <st...@rowland.harvard.edu>:
> On Tue, 26 Sep 2017, Jaejoong Kim wrote:
>
>> The starting address of the hid descriptor is obtained via
>> usb_get_extra_descriptor(). If the hid descr
Hi, Alan,
Thanks for the review.
2017-09-26 23:18 GMT+09:00 Alan Stern :
> On Tue, 26 Sep 2017, Jaejoong Kim wrote:
>
>> The starting address of the hid descriptor is obtained via
>> usb_get_extra_descriptor(). If the hid descriptor has the wrong size, it
>> is poss
ko <gli...@google.com>
Signed-off-by: Jaejoong Kim <climbbb@gmail.com>
---
drivers/hid/usbhid/hid-core.c | 39 +++
include/linux/hid.h | 2 ++
2 files changed, 29 insertions(+), 12 deletions(-)
diff --git a/drivers/hid/usbhid/hid-core.
Potapenko
Signed-off-by: Jaejoong Kim
---
drivers/hid/usbhid/hid-core.c | 39 +++
include/linux/hid.h | 2 ++
2 files changed, 29 insertions(+), 12 deletions(-)
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c
index 089bad8..7bad173
Hi Alan
2017-09-21 0:50 GMT+09:00 Alan Stern :
> On Wed, 20 Sep 2017, Kim Jaejoong wrote:
>
>> To. usb & input guys.
>>
>> While dig this report, i was wondering about bNumDescriptors in HID
>> descriptor.
>> HID document from usb.org said, 'this number must be at
Hi Alan
2017-09-21 0:50 GMT+09:00 Alan Stern :
> On Wed, 20 Sep 2017, Kim Jaejoong wrote:
>
>> To. usb & input guys.
>>
>> While dig this report, i was wondering about bNumDescriptors in HID
>> descriptor.
>> HID document from usb.org said, 'this number must be at least one (1)
>> as a Report
is always zero. To proper
display hiddev's minor number, we need to store the minor number asked from
usb core and do some refactoring work (move from hiddev.c to hiddev.h) to
access hiddev in hid-core.
Reviewed-by: Benjamin Tissoires <benjamin.tissoi...@redhat.com>
Signed-off-by: Jaejoo
is always zero. To proper
display hiddev's minor number, we need to store the minor number asked from
usb core and do some refactoring work (move from hiddev.c to hiddev.h) to
access hiddev in hid-core.
Reviewed-by: Benjamin Tissoires
Signed-off-by: Jaejoong Kim
---
Chanes in v2:
- rollback struct
Jaejoong Kim (2):
HID: cp2112: use proper hidraw name with minor number
HID: hiddev: reallocate hiddev's minor number
drivers/hid/hid-core.c | 2 +-
drivers/hid/hid-cp2112.c| 4 +++-
drivers/hid/usbhid/hiddev.c | 15 ---
include/linux/hid.h | 1 -
include/linux
Jaejoong Kim (2):
HID: cp2112: use proper hidraw name with minor number
HID: hiddev: reallocate hiddev's minor number
drivers/hid/hid-core.c | 2 +-
drivers/hid/hid-cp2112.c| 4 +++-
drivers/hid/usbhid/hiddev.c | 15 ---
include/linux/hid.h | 1 -
include/linux
The cp2112 driver is working on hidraw not hiddev. So we need to use proper
hidraw name with hidraw's minor number.
Reviewed-by: Benjamin Tissoires <benjamin.tissoi...@redhat.com>
Signed-off-by: Jaejoong Kim <climbbb@gmail.com>
---
Changes in v2:
- tie in a series
---
drivers/hi
The cp2112 driver is working on hidraw not hiddev. So we need to use proper
hidraw name with hidraw's minor number.
Reviewed-by: Benjamin Tissoires
Signed-off-by: Jaejoong Kim
---
Changes in v2:
- tie in a series
---
drivers/hid/hid-cp2112.c | 4 +++-
1 file changed, 3 insertions(+), 1
hidraw if it neeeded.
So, I move the minor number from hid_device to hiddev and do some refactoring
to access struct hiddev in hid-core
Jaejoong Kim (2):
HID: hiddev: move hiddev's minor number from struct hid_device to
hiddev
HID: hiddev: store hiddev's minor number when hiddev is connected
hidraw if it neeeded.
So, I move the minor number from hid_device to hiddev and do some refactoring
to access struct hiddev in hid-core
Jaejoong Kim (2):
HID: hiddev: move hiddev's minor number from struct hid_device to
hiddev
HID: hiddev: store hiddev's minor number when hiddev is connected
We need to store the minor number each drivers. In case of hidraw, it's
minor number stores in struct hidraw. But hiddev's minor is located in
struct hid_device.
So reallocates for hiddev's minor number.
Signed-off-by: Jaejoong Kim <climbbb@gmail.com>
---
drivers/hid/usbhid/hiddev
We need to store the minor number each drivers. In case of hidraw, it's
minor number stores in struct hidraw. But hiddev's minor is located in
struct hid_device.
So reallocates for hiddev's minor number.
Signed-off-by: Jaejoong Kim
---
drivers/hid/usbhid/hiddev.c | 1 +
include/linux/hid.h
-core.
Signed-off-by: Jaejoong Kim <climbbb@gmail.com>
---
drivers/hid/hid-core.c | 2 +-
drivers/hid/usbhid/hiddev.c | 26 +++---
include/linux/hiddev.h | 24
3 files changed, 28 insertions(+), 24 deletions(-)
diff --git a/drivers/h
-core.
Signed-off-by: Jaejoong Kim
---
drivers/hid/hid-core.c | 2 +-
drivers/hid/usbhid/hiddev.c | 26 +++---
include/linux/hiddev.h | 24
3 files changed, 28 insertions(+), 24 deletions(-)
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid
40 matches
Mail list logo