All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
To: linux-next@vger.kernel.org
Cc: sfr@canb.auug.org.au, kernel list <linux-kernel@vger.kernel.org>,
	Andy Whitcroft <apw@shadowen.org>
Subject: linux-next20080314 build fails with !CONFIG_PM
Date: Fri, 14 Mar 2008 13:27:10 +0530	[thread overview]
Message-ID: <47DA2FD6.3000100@linux.vnet.ibm.com> (raw)

The next-20080314 tree build fails 

drivers/serial/serial_core.c: In function `uart_add_one_port':
drivers/serial/serial_core.c:2359: error: invalid lvalue in assignment
make[2]: *** [drivers/serial/serial_core.o] Error 1

The config # CONFIG_PM was not set.The code which is causing the 
build failure is 

	device_can_wakeup(tty_dev) = 1;

when the CONFIG_PM is set the macro is preprocessed as

#define device_can_wakeup(dev) \
        ((dev)->power.can_wakeup)

and when not set, it becomes 0 = 1 

#define device_can_wakeup(dev)                  0

-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.

             reply	other threads:[~2008-03-14  7:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-14  7:57 Kamalesh Babulal [this message]
2008-03-14 22:05 ` linux-next20080314 build fails with !CONFIG_PM Andrew Morton
2008-03-14 22:37   ` Rafael J. Wysocki
2008-03-15 21:53     ` [PATCH 0/3] PM wakeup flags revisited Alan Stern
2008-03-15 21:53     ` Alan Stern
2008-03-15 21:53     ` [PATCH 1/3] Fix misuse of wakeup flag accessors in serial core Alan Stern
2008-03-15 21:53     ` Alan Stern
2008-03-15 21:53     ` [PATCH 2/3] PM: make wakeup flags available whenever CONFIG_PM is set (ver 2) Alan Stern
2008-03-15 21:53     ` Alan Stern
2008-03-15 21:54     ` [PATCH 3/3] PM: convert wakeup flag accessors to inline functions Alan Stern
2008-03-15 21:54     ` 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=47DA2FD6.3000100@linux.vnet.ibm.com \
    --to=kamalesh@linux.vnet.ibm.com \
    --cc=apw@shadowen.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=sfr@canb.auug.org.au \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.