Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1287748

Re: [PATCH v2 1/1] drm: modes: fix DRM modes analysis regression

From Corentin LABBE <clabbe.montjoie@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/1] drm: modes: fix DRM modes analysis regression
Date 2015-12-09 20:20 +0100
Message-ID <qDSro-42H-25@gated-at.bofh.it> (permalink)
References <qDN8l-xe-3@gated-at.bofh.it> <qDN8m-xe-25@gated-at.bofh.it> <qDP0u-1Jn-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 09/12/2015 16:32, Jani Nikula a écrit :
> On Wed, 09 Dec 2015, LABBE Corentin <clabbe.montjoie@gmail.com> wrote:
>> My latest commit introduce some case where a valid mode, could be
>> rejected.
>> simple_strtox functions stop at first non-digit character, but kstrtox not.
>> So args like "video=HDMI-A-1:720x480-16@60" will be reject when checking 16@.
>> The proper solution is to store digits in a specific buffer.
> 
> Or to revert regressing commit...? Your original commit complicated the
> already complicated function, and this one makes it more so. What is the
> benefit?
> 

The benefit is to remove a function marked obsolete who do not said if the conversation is successful or not.
But I understand that the way I have done it was not the best one.
If the maintainer want it, I will send a patch for reverting the first patch.

>> Fixes: 52157a4ca396 ("drm: modes: replace simple_strtoul by kstrtouint")
> 
> For me the commit id is cc344980c76748e57c9c03100c2a14d36ab00334.

Oups, I took commit id from my local git.

Regards

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/1] drm: modes: fix DRM modes analysis regression LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-12-09 14:40 +0100
  [PATCH v2 1/1] drm: modes: fix DRM modes analysis regression LABBE Corentin <clabbe.montjoie@gmail.com> - 2015-12-09 14:40 +0100
    Re: [PATCH v2 1/1] drm: modes: fix DRM modes analysis regression Jani Nikula <jani.nikula@linux.intel.com> - 2015-12-09 16:40 +0100
      Re: [PATCH v2 1/1] drm: modes: fix DRM modes analysis regression Corentin LABBE <clabbe.montjoie@gmail.com> - 2015-12-09 20:20 +0100
        Re: [PATCH v2 1/1] drm: modes: fix DRM modes analysis regression Daniel Vetter <daniel@ffwll.ch> - 2015-12-10 09:10 +0100

csiph-web