mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Kernel development list <linux-kernel@vger.kernel.org>
Subject: Re: Weirdness in patch
Date: Thu, 4 Mar 2010 13:01:19 -0800	[thread overview]
Message-ID: <20100304210119.GA27873@kroah.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1003041511070.1305-100000@iolanthe.rowland.org>

On Thu, Mar 04, 2010 at 03:22:22PM -0500, Alan Stern wrote:
> Greg:
> 
> In my copy of gregkh-all-2.6.33.patch (which is dated 2010-03-01), 
> there are changes to drivers/base/power/main.c, coming from the 
> gregkh-05-driver-core/driver-core-create-lock-unlock-functions-for-struct-device 
> patch.
> 
> The first weird thing is this.  That file as it currently exists on
> www.kernel.org (dated 2010-03-03) contains the following hunk (it's the
> last hunk for drivers/base/power/main.c):
> 
> @@ -962,7 +962,7 @@ static int device_prepare(struct device
>  		suspend_report_result(dev->class->pm->prepare, error);
>  	}
>   End:
> -	up(&dev->sem);
> +	device_unlock(dev);
>  
>  	return error;
>  }
> 
> But in my copy of gregkh-all-2.6.33.patch, the corresponding hunk is:
> 
> @@ -852,7 +852,7 @@
>  		suspend_report_result(dev->class->pm->prepare, error);
>  	}
>   End:
> -	up(&dev->sem);
> +	device_lock(dev);
>  
>  	return error;
>  }
> 
> The device_unlock() got changed to device_lock()!  That messed up my 
> suspend testing for a while...
> 
> Secondly, none of these changes is present in the 
> gregkh-all-2.6.33.patch file at www.kernel.org.  Isn't that supposed to 
> contain all the patches from the subsystems merged into one?
> 
> What's the story?

Odd, I don't know.  I changed my script to try to handle git ids instead
of -rc only type base versions, and I probably messed something up.  Let
me go verify that the above patch is still correct (I had to merge it by
hand...)

Yes, the original patch is correct, but somehow the -all patches are not
getting generated correctly.  I'll go look into what broke in my
scripts.  Sorry about that, and thanks for letting me know.

greg k-h

  reply	other threads:[~2010-03-04 21:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-04 20:22 Alan Stern
2010-03-04 21:01 ` Greg KH [this message]
2010-03-04 21:06   ` Greg KH
2010-03-05 14:50     ` Alan Stern

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=20100304210119.GA27873@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /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

all inboxes | Powered by JetHome®