• Home
  • Raw
  • Download

Lines Matching refs:patch

78 Four basic modes are defined: ``patch``, ``report``, ``context``, and
82 - ``patch`` proposes a fix, when possible.
106 To make a report for every semantic patch, run the following command::
112 make coccicheck MODE=patch
115 The coccicheck target applies every semantic patch available in the
118 For each semantic patch, a commit message is proposed. It gives a
119 description of the problem being checked by the semantic patch, and
151 Using Coccinelle with a single semantic patch
155 semantic patch. In that case, the variable must be initialized with
156 the name of the semantic patch to apply.
160 make coccicheck COCCI=<my_SP.cocci> MODE=patch
196 This runs every semantic patch in scripts/coccinelle by default. The
198 semantic patch as shown in the previous section.
323 SmPL patch specific options
327 to Coccinelle. SmPL patch-specific options can be provided by
328 providing them at the top of the SmPL patch, for instance::
332 SmPL patch Coccinelle requirements
336 may require newer versions of Coccinelle. If an SmPL patch requires
367 @r depends on !context && !patch && (org || report)@
391 Detailed description of the ``patch`` mode
394 When the ``patch`` mode is available, it proposes a fix for each problem
402 make coccicheck MODE=patch COCCI=scripts/coccinelle/api/err_cast.cocci
407 @ depends on !context && patch && !org && !report @
415 This SmPL excerpt generates patch hunks on the standard output, as
437 **NOTE**: The diff-like output generated is NOT an applicable patch. The
453 @ depends on context && !patch && !org && !report@
490 @r depends on !context && !patch && (org || report)@