[Cocci] [PATCH] scripts: coccicheck: fix troubles on non-English builds

2021-05-18 Thread Mauro Carvalho Chehab
he script to not run properly, as it will produce a warning: $ make coccicheck COCCI=$PWD/scripts/coccinelle/misc/add_namespace.cocci MODE=report drivers/media/ ./scripts/coccicheck: linha 93: [: nĂºmero excessivo de argumentos Fix it by forcing LANG=C when calling lscpu. Signed-of

Re: [Cocci] [PATCH v5] coccinelle: api: semantic patch to use pm_runtime_resume_and_get

2021-05-05 Thread Mauro Carvalho Chehab
Hi Julia, Em Thu, 29 Apr 2021 19:43:43 +0200 Julia Lawall escreveu: > pm_runtime_get_sync keeps a reference count on failure, which can lead > to leaks. pm_runtime_resume_and_get drops the reference count in the > failure case. This rule very conservatively follows the definition of >

[PATCH 24/39] docs: driver-model: move it to the driver-api book

2019-06-28 Thread Mauro Carvalho Chehab
The audience for the Kernel driver-model is clearly Kernel hackers. Signed-off-by: Mauro Carvalho Chehab --- Documentation/{ => driver-api}/driver-model/binding.rst | 0 Documentation/{ => driver-api}/driver-model/bus.rst | 0 Documentation/{ => driver-api}/dri

[PATCH v2 09/29] docs: driver-model: convert docs to ReST and rename to *.rst

2019-06-18 Thread Mauro Carvalho Chehab
markups. At its new index.rst, let's add a :orphan: while this is not linked to the main index.rst file, in order to avoid build warnings. Signed-off-by: Mauro Carvalho Chehab Acked-by: Jeff Kirsher # ice --- Documentation/driver-api/gpio/driver.rst | 2 +- .../driver-model/{binding.txt

[PATCH v1 09/31] docs: driver-model: convert docs to ReST and rename to *.rst

2019-06-12 Thread Mauro Carvalho Chehab
markups. At its new index.rst, let's add a :orphan: while this is not linked to the main index.rst file, in order to avoid build warnings. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/gpio/driver.rst | 2 +- .../driver-model/{binding.txt => binding.rst} | 20 +- .../dri

Re: [Cocci] [PATCH v3 1/1] runchecks: Generalize make C={1, 2} to support multiple checkers

2018-01-09 Thread Mauro Carvalho Chehab
Em Fri, 05 Jan 2018 20:41:41 +0100 Knut Omang <knut.om...@oracle.com> escreveu: > On Fri, 2018-01-05 at 16:08 -0200, Mauro Carvalho Chehab wrote: > > Em Thu, 04 Jan 2018 21:15:31 +0100 > > Knut Omang <knut.om...@oracle.com> escreveu: > > > &g