From: Kunal Joshi <kunal1.joshi@intel.com>
To: "Lisovskiy, Stanislav" <stanislav.lisovskiy@intel.com>,
intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Send a hotplug when edid changes (rev8)
Date: Fri, 26 Jun 2020 14:45:40 +0530 [thread overview]
Message-ID: <20200626091540.GA17572@intel.com> (raw)
In-Reply-To: <3542d23ab420436ba0573b8575aa1376@intel.com>
On 2020-06-26 at 08:25:24 -0700, Lisovskiy, Stanislav wrote:
> Omg, where did those come from?..
>
> Joshi Kunal: will you fix or should I do that?
>
>
> Best Regards,
>
> Lisovskiy Stanislav
>
> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo
>
yes stan floated with checkpatch errors removed
> ________________________________________
> From: Jani Nikula <jani.nikula@linux.intel.com>
> Sent: Friday, June 26, 2020 6:22:31 PM
> To: Patchwork; Lisovskiy, Stanislav
> Cc: intel-gfx@lists.freedesktop.org; Joshi, Kunal1
> Subject: Re: [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Send a hotplug when edid changes (rev8)
>
> On Wed, 24 Jun 2020, Patchwork <patchwork@emeril.freedesktop.org> wrote:
> > == Series Details ==
> >
> > Series: Send a hotplug when edid changes (rev8)
> > URL : https://patchwork.freedesktop.org/series/62816/
> > State : warning
> >
> > == Summary ==
>
> Please at least fix the spacing issues. Please don't use spaces for
> indentation.
>
> BR,
> Jani.
>
>
> >
> > $ dim checkpatch origin/drm-tip
> > eeee75d80077 drm: Add helper to compare edids.
> > -:32: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "edid1"
> > #32: FILE: drivers/gpu/drm/drm_edid.c:1628:
> > + bool edid1_present = edid1 != NULL;
> >
> > -:33: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "edid2"
> > #33: FILE: drivers/gpu/drm/drm_edid.c:1629:
> > + bool edid2_present = edid2 != NULL;
> >
> > -:39: CHECK:BRACES: Blank lines aren't necessary after an open brace '{'
> > #39: FILE: drivers/gpu/drm/drm_edid.c:1635:
> > + if (edid1) {
> > +
> >
> > -:54: CHECK:LINE_SPACING: Please don't use multiple blank lines
> > #54: FILE: drivers/gpu/drm/drm_edid.c:1650:
> > +
> > +
> >
> > total: 0 errors, 0 warnings, 4 checks, 54 lines checked
> > 127303584a7e drm: Introduce epoch counter to drm_connector
> > -:56: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
> > #56: FILE: drivers/gpu/drm/drm_connector.c:2012:
> > + DRM_DEBUG_KMS("[CONNECTOR:%d:%s] Edid was changed.\n",
> > + connector->base.id, connector->name);
> >
> > -:60: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis
> > #60: FILE: drivers/gpu/drm/drm_connector.c:2016:
> > + DRM_DEBUG_KMS("Updating change counter to %llu\n",
> > + connector->epoch_counter);
> >
> > -:129: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u64' over 'uint64_t'
> > #129: FILE: drivers/gpu/drm/drm_probe_helper.c:790:
> > + uint64_t old_epoch_counter;
> >
> > -:160: WARNING:BRACES: braces {} are not necessary for single statement blocks
> > #160: FILE: drivers/gpu/drm/drm_probe_helper.c:826:
> > + if (old_epoch_counter != connector->epoch_counter) {
> > changed = true;
> > + }
> >
> > -:183: ERROR:CODE_INDENT: code indent should use tabs where possible
> > #183: FILE: include/drm/drm_connector.h:1332:
> > + /** @epoch_counter: used to detect any other changes in connector, besides status */$
> >
> > -:184: ERROR:CODE_INDENT: code indent should use tabs where possible
> > #184: FILE: include/drm/drm_connector.h:1333:
> > + uint64_t epoch_counter;$
> >
> > -:184: WARNING:LEADING_SPACE: please, no spaces at the start of a line
> > #184: FILE: include/drm/drm_connector.h:1333:
> > + uint64_t epoch_counter;$
> >
> > -:184: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u64' over 'uint64_t'
> > #184: FILE: include/drm/drm_connector.h:1333:
> > + uint64_t epoch_counter;
> >
> > total: 2 errors, 2 warnings, 4 checks, 136 lines checked
> > 6f6d00bcff9f drm/i915: Send hotplug event if edid had changed
> > -:42: ERROR:CODE_INDENT: code indent should use tabs where possible
> > #42: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:286:
> > + u64 old_epoch_counter;$
> >
> > -:42: WARNING:LEADING_SPACE: please, no spaces at the start of a line
> > #42: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:286:
> > + u64 old_epoch_counter;$
> >
> > -:43: ERROR:CODE_INDENT: code indent should use tabs where possible
> > #43: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:287:
> > + bool ret = false;$
> >
> > -:43: WARNING:LEADING_SPACE: please, no spaces at the start of a line
> > #43: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:287:
> > + bool ret = false;$
> >
> > -:62: ERROR:CODE_INDENT: code indent should use tabs where possible
> > #62: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:295:
> > + if (old_epoch_counter != connector->base.epoch_counter)$
> >
> > -:62: WARNING:LEADING_SPACE: please, no spaces at the start of a line
> > #62: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:295:
> > + if (old_epoch_counter != connector->base.epoch_counter)$
> >
> > -:63: ERROR:CODE_INDENT: code indent should use tabs where possible
> > #63: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:296:
> > + ret = true;$
> >
> > -:63: WARNING:LEADING_SPACE: please, no spaces at the start of a line
> > #63: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:296:
> > + ret = true;$
> >
> > -:65: ERROR:CODE_INDENT: code indent should use tabs where possible
> > #65: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:298:
> > + if(ret) {$
> >
> > -:65: WARNING:LEADING_SPACE: please, no spaces at the start of a line
> > #65: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:298:
> > + if(ret) {$
> >
> > -:65: ERROR:SPACING: space required before the open parenthesis '('
> > #65: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:298:
> > + if(ret) {
> >
> > -:73: ERROR:CODE_INDENT: code indent should use tabs where possible
> > #73: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:306:
> > + }$
> >
> > -:73: WARNING:LEADING_SPACE: please, no spaces at the start of a line
> > #73: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:306:
> > + }$
> >
> > -:74: ERROR:CODE_INDENT: code indent should use tabs where possible
> > #74: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:307:
> > + return INTEL_HOTPLUG_UNCHANGED;$
> >
> > -:74: WARNING:LEADING_SPACE: please, no spaces at the start of a line
> > #74: FILE: drivers/gpu/drm/i915/display/intel_hotplug.c:307:
> > + return INTEL_HOTPLUG_UNCHANGED;$
> >
> > total: 8 errors, 7 warnings, 0 checks, 38 lines checked
> >
> > _______________________________________________
> > Intel-gfx mailing list
> > Intel-gfx@lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/intel-gfx
>
> --
> Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2020-06-26 16:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-23 18:57 [Intel-gfx] [PATCH v6 0/3] Send a hotplug when edid changes Kunal Joshi
2020-06-23 18:57 ` [Intel-gfx] [PATCH v6 1/3] drm: Add helper to compare edids Kunal Joshi
2020-06-23 18:57 ` [Intel-gfx] [PATCH v6 2/3] drm: Introduce epoch counter to drm_connector Kunal Joshi
2020-06-23 18:57 ` [Intel-gfx] [PATCH v6 3/3] drm/i915: Send hotplug event if edid had changed Kunal Joshi
2020-06-25 8:36 ` Maarten Lankhorst
2020-06-25 10:46 ` Lisovskiy, Stanislav
2020-06-24 10:51 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Send a hotplug when edid changes (rev8) Patchwork
2020-06-26 15:22 ` Jani Nikula
2020-06-26 15:25 ` Lisovskiy, Stanislav
2020-06-26 9:15 ` Kunal Joshi [this message]
2020-06-24 10:53 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2020-06-24 11:12 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2020-06-26 9:59 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
[not found] ` <8bb621ba77744f599364bd096447db3d@intel.com>
2020-06-26 11:34 ` Lisovskiy, Stanislav
2020-06-26 13:02 ` [Intel-gfx] ✓ Fi.CI.IGT: success " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200626091540.GA17572@intel.com \
--to=kunal1.joshi@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=stanislav.lisovskiy@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox