Re: [PATCH 2/2 v2] char: misc: use octal permissions for the proc entry

2017-04-29 Thread Martin Kaiser
Hello Andy, Thus wrote Andy Shevchenko (andy.shevche...@gmail.com): > On Tue, Apr 18, 2017 at 12:11 PM, Martin Kaiser wrote: > > checkpatch is asking for a 4 digit octal number. And at least for me, > > 0444 makes it clearer what the permissions actually are. Yes, somewhere >

Re: [PATCH 2/2 v2] char: misc: use octal permissions for the proc entry

2017-04-29 Thread Martin Kaiser
Hello Andy, Thus wrote Andy Shevchenko (andy.shevche...@gmail.com): > On Tue, Apr 18, 2017 at 12:11 PM, Martin Kaiser wrote: > > checkpatch is asking for a 4 digit octal number. And at least for me, > > 0444 makes it clearer what the permissions actually are. Yes, somewhere > > in the code, I

Re: [PATCH v2 3/3] tpm: vtpm_proxy: Add ioctl to request locality prepended to command

2017-04-29 Thread kbuild test robot
-the-vTPM-proxy-driver-to-pass-locality-to-emulator/20170429-115352 reproduce: make htmldocs All warnings (new ones prefixed by >>): include/linux/init.h:1: warning: no structured comments found kernel/sched/core.c:2085: warning: No description found for parameter 'rf' kernel/sched/core.

Re: [PATCH v2 3/3] tpm: vtpm_proxy: Add ioctl to request locality prepended to command

2017-04-29 Thread kbuild test robot
-the-vTPM-proxy-driver-to-pass-locality-to-emulator/20170429-115352 reproduce: make htmldocs All warnings (new ones prefixed by >>): include/linux/init.h:1: warning: no structured comments found kernel/sched/core.c:2085: warning: No description found for parameter 'rf' kernel/sched/core.

Re: [PATCH v4] platform/x86: ideapad-laptop: Add sysfs interface for touchpad state

2017-04-29 Thread Ritesh Raj Sarraf
Hello, On Fri, 2017-04-28 at 22:17 +0300, Andy Shevchenko wrote: > On Wed, Feb 22, 2017 at 12:24 PM, Ritesh Raj Sarraf wrote: > > > Any further comment on this patch ? Will this be accepted ? > > Please give a N/ACK. > > Sorry for a long delay, but I can't go with this without

Re: [PATCH v4] platform/x86: ideapad-laptop: Add sysfs interface for touchpad state

2017-04-29 Thread Ritesh Raj Sarraf
Hello, On Fri, 2017-04-28 at 22:17 +0300, Andy Shevchenko wrote: > On Wed, Feb 22, 2017 at 12:24 PM, Ritesh Raj Sarraf wrote: > > > Any further comment on this patch ? Will this be accepted ? > > Please give a N/ACK. > > Sorry for a long delay, but I can't go with this without clear >

[PATCH] staging: fbtft: fbtft-io.c: Fix sparse warning

2017-04-29 Thread AbdAllah-MEZITI
This patch fixes the following sparse warning in fbtft/fbtft-io.c CHECK drivers/staging/fbtft/fbtft-io.c drivers/staging/fbtft/fbtft-io.c:74:29: warning: incorrect type in assignment (different base types) drivers/staging/fbtft/fbtft-io.c:74:29:expected unsigned long long [unsigned]

[PATCH] staging: fbtft: fbtft-io.c: Fix sparse warning

2017-04-29 Thread AbdAllah-MEZITI
This patch fixes the following sparse warning in fbtft/fbtft-io.c CHECK drivers/staging/fbtft/fbtft-io.c drivers/staging/fbtft/fbtft-io.c:74:29: warning: incorrect type in assignment (different base types) drivers/staging/fbtft/fbtft-io.c:74:29:expected unsigned long long [unsigned]

[PATCH 5/5] drm: Add three ioctls for managing drm mode object leases [v2]

2017-04-29 Thread Keith Packard
drm_mode_create_lease Creates a lease for a list of drm mode objects, returning an fd for the new drm_master and a 64-bit identifier for the lessee drm_mode_list_lesees List the identifiers of the lessees for a master file drm_mode_get_lease List the leased

[PATCH 5/5] drm: Add three ioctls for managing drm mode object leases [v2]

2017-04-29 Thread Keith Packard
drm_mode_create_lease Creates a lease for a list of drm mode objects, returning an fd for the new drm_master and a 64-bit identifier for the lessee drm_mode_list_lesees List the identifiers of the lessees for a master file drm_mode_get_lease List the leased

[PATCH 3/5] drm: Add drm_object lease infrastructure [v2]

2017-04-29 Thread Keith Packard
This provides new data structures to hold "lease" information about drm mode setting objects, and provides for creating new drm_masters which have access to a subset of the available drm resources. An 'owner' is a drm_master which is not leasing the objects from another drm_master, and hence

[PATCH 3/5] drm: Add drm_object lease infrastructure [v2]

2017-04-29 Thread Keith Packard
This provides new data structures to hold "lease" information about drm mode setting objects, and provides for creating new drm_masters which have access to a subset of the available drm resources. An 'owner' is a drm_master which is not leasing the objects from another drm_master, and hence

[PATCH 4/5] drm: Check mode object lease status in all master ioctl paths [v2]

2017-04-29 Thread Keith Packard
Attempts to modify un-leased objects are rejected with an error. Information returned about unleased objects is modified to make them appear unusable and/or disconnected. Changes for v2 as suggested by Daniel Vetter : With the change in the __drm_mode_object_find API to

[PATCH 2/5] drm: Add new LEASE debug level

2017-04-29 Thread Keith Packard
Separate out lease debugging from the core. Signed-off-by: Keith Packard --- drivers/gpu/drm/drm_drv.c | 3 ++- include/drm/drmP.h| 4 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index

[PATCH 1/5] drm: Pass struct drm_file * to __drm_mode_object_find

2017-04-29 Thread Keith Packard
This will allow __drm_mode_object_file to be extended to perform access control checks based on the file in use. Suggested-by: Daniel Vetter Signed-off-by: Keith Packard --- drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 16

[PATCH 4/5] drm: Check mode object lease status in all master ioctl paths [v2]

2017-04-29 Thread Keith Packard
Attempts to modify un-leased objects are rejected with an error. Information returned about unleased objects is modified to make them appear unusable and/or disconnected. Changes for v2 as suggested by Daniel Vetter : With the change in the __drm_mode_object_find API to pass the file_priv along,

[PATCH 2/5] drm: Add new LEASE debug level

2017-04-29 Thread Keith Packard
Separate out lease debugging from the core. Signed-off-by: Keith Packard --- drivers/gpu/drm/drm_drv.c | 3 ++- include/drm/drmP.h| 4 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c index

[PATCH 1/5] drm: Pass struct drm_file * to __drm_mode_object_find

2017-04-29 Thread Keith Packard
This will allow __drm_mode_object_file to be extended to perform access control checks based on the file in use. Suggested-by: Daniel Vetter Signed-off-by: Keith Packard --- drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | 16 drivers/gpu/drm/amd/amdgpu/dce_virtual.c

[PATCH 0/5] drm: Add mode resource leasing [v2]

2017-04-29 Thread Keith Packard
Here's a second try at mode resource leasing. The differences from v1 are mostly deleting functionality that isn't currently useful. There are no more sub-leases; there's the owner, the owner is the only lessor and so the only one who can create leases and hand those out. The lessor can now

[PATCH 0/5] drm: Add mode resource leasing [v2]

2017-04-29 Thread Keith Packard
Here's a second try at mode resource leasing. The differences from v1 are mostly deleting functionality that isn't currently useful. There are no more sub-leases; there's the owner, the owner is the only lessor and so the only one who can create leases and hand those out. The lessor can now

<    1   2   3   4