From: Kirk True <kernel@kirkandsheila.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] smbfs: Fix debug logging-only compilation error
Date: Fri, 03 Mar 2006 01:24:38 -0800 [thread overview]
Message-ID: <1141377878.8331.17.camel@itchy> (raw)
Version: 2.6.16-rc5
When SMBFS_DEBUG_VERBOSE is #define-d, the compile breaks:
fs/smbfs/inode.c:217: error: aggregate value used where an integer was expected
This is a simple matter of using the .tv_sec attribute of struct time_spec.
Signed-off-by: Kirk True <kernel@kirkandsheila.com>
--- linux-2.6.16-rc5-orig/fs/smbfs/inode.c 2006-03-02 23:52:17.000000000 -0800
+++ linux-2.6.16-rc5/fs/smbfs/inode.c 2006-03-02 23:12:34.000000000 -0800
@@ -216,7 +216,7 @@
if (inode->i_mtime.tv_sec != last_time || inode->i_size != last_sz) {
VERBOSE("%ld changed, old=%ld, new=%ld, oz=%ld, nz=%ld\n",
inode->i_ino,
- (long) last_time, (long) inode->i_mtime,
+ (long) last_time, (long) inode->i_mtime.tv_sec,
(long) last_sz, (long) inode->i_size);
if (!S_ISDIR(inode->i_mode))
reply other threads:[~2006-03-03 9:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1141377878.8331.17.camel@itchy \
--to=kernel@kirkandsheila.com \
--cc=linux-kernel@vger.kernel.org \
/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