linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Arnd Bergmann <arnd@arndb.de>, Greg KH <greg@kroah.com>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
	Tapasweni Pathak <tapaswenipathak@gmail.com>,
	Joe Perches <joe@perches.com>
Subject: linux-next: manual merge of the y2038 tree with the staging tree
Date: Thu, 6 Nov 2014 15:43:11 +1100	[thread overview]
Message-ID: <20141106154311.3907b565@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 2017 bytes --]

Hi Arnd,

Today's linux-next merge of the y2038 tree got a conflict in
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c between commit
ecdd21c7b982 ("staging: ft1000: Whitespace neatening") from the staging
tree and commit 4115d2b27a50 ("staging: ft1000: Replace timeval and
time_t with time64_t") from the y2038 tree.

I fixed it up (see below) and can carry the fix as necessary (no action
is required).

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

diff --cc drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
index 11dbe369e18b,9a9655cdc64d..000000000000
--- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
+++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
@@@ -1019,29 -1055,19 +1019,29 @@@ static void ft1000_proc_drvmsg(struct n
  			info->CardReady = 1;
  			break;
  		case MEDIA_STATE:
 -			pmediamsg = (struct media_msg *) & cmdbuffer[0];
 +			pmediamsg = (struct media_msg *)&cmdbuffer[0];
  			if (info->ProgConStat != 0xFF) {
 -			if (pmediamsg->state) {
 -				DEBUG(1, "Media is up\n");
 -				if (info->mediastate == 0) {
 -					netif_carrier_on(dev);
 -					netif_wake_queue(dev);
 -					info->mediastate = 1;
 -					time = get_seconds();
 -					info->ConTm = time;
 +				if (pmediamsg->state) {
 +					pr_debug("Media is up\n");
 +					if (info->mediastate == 0) {
 +						netif_carrier_on(dev);
 +						netif_wake_queue(dev);
 +						info->mediastate = 1;
- 						do_gettimeofday(&tv);
- 						info->ConTm = tv.tv_sec;
++						time = get_seconds();
++						info->ConTm = time;
 +					}
 +				} else {
 +					pr_debug("Media is down\n");
 +					if (info->mediastate == 1) {
 +						info->mediastate = 0;
 +						netif_carrier_off(dev);
 +						netif_stop_queue(dev);
 +						info->ConTm = 0;
 +					}
  				}
 -			} else {
 -				DEBUG(1, "Media is down\n");
 +			}
 +			else {
 +				pr_debug("Media is down\n");
  				if (info->mediastate == 1) {
  					info->mediastate = 0;
  					netif_carrier_off(dev);

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

             reply	other threads:[~2014-11-06  4:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06  4:43 Stephen Rothwell [this message]
2014-11-06  4:48 linux-next: manual merge of the y2038 tree with the staging tree Stephen Rothwell
2014-11-06  4:51 ` Stephen Rothwell
2015-03-19  6:29 Stephen Rothwell
2015-11-01 14:44 Stephen Rothwell
2015-11-01 18:03 ` Greg KH
2018-06-06 10:19 Stephen Rothwell

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=20141106154311.3907b565@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=arnd@arndb.de \
    --cc=greg@kroah.com \
    --cc=joe@perches.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=tapaswenipathak@gmail.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;
as well as URLs for NNTP newsgroup(s).