All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Minu Jin <s9430939@naver.com>,
	abrahamadekunle50@gmail.com, milospuric856@gmail.com,
	zxcv2569763104@gmail.com, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] staging: rtl8723bs: fix unchecked return value of skb_copy_bits
Date: Tue, 20 Jan 2026 15:57:56 +0100	[thread overview]
Message-ID: <2026012001-freehand-clang-d758@gregkh> (raw)
In-Reply-To: <aW-REdQ9BAKA-GC9@stanley.mountain>

On Tue, Jan 20, 2026 at 05:28:33PM +0300, Dan Carpenter wrote:
> On Tue, Jan 20, 2026 at 04:03:37PM +0200, Andy Shevchenko wrote:
> > On Tue, Jan 20, 2026 at 04:59:29PM +0300, Dan Carpenter wrote:
> > > On Tue, Jan 20, 2026 at 10:22:41PM +0900, Minu Jin wrote:
> > 
> > ...
> > 
> > > > +	signed int ret;
> > > 
> > > Don't put a blank line in the middle of the declaration block.  Just do
> > > "int ret;".  Everyone knows "int" is signed.  Don't follow the local
> > > style when the local style is wrong.  Also only use s32 when it's part
> > > of a networking or hardware spec.  Just use int.  Do people imagine that
> > > we'll change int to be unsigned?
> > 
> > Not in a far past we changed char to be unsigned :-)
> > 
> > *Yes I know that it's a bit different case.
> 
> Heh.
> 
> char was always unsigned on s390 and the s390 devs were really militant
> about avoiding declaring variables as "unsigned char" so they'd write
> all their arch/s390/ code to look like:
> 
> 	if (char_variable == 255) {
> 
> I guess they were annoyed at the rest of the world who declared their
> variables as "char" when it should have been "signed char".  They stuck
> to their guns and defeated the rest of us in the end.  It's some kind of
> life lesson or potentially a message of hope?  :P

s390 always is 5-10 years ahead of where everyone else will eventually
get to.  It's fun to watch people slowly realize this :)

  reply	other threads:[~2026-01-20 14:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-20 13:22 [PATCH v2] staging: rtl8723bs: fix unchecked return value of skb_copy_bits Minu Jin
2026-01-20 13:43 ` Andy Shevchenko
2026-01-20 13:59 ` Dan Carpenter
2026-01-20 14:03   ` Andy Shevchenko
2026-01-20 14:28     ` Dan Carpenter
2026-01-20 14:57       ` Greg KH [this message]
2026-01-20 14:03 ` Greg KH

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=2026012001-freehand-clang-d758@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=abrahamadekunle50@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=dan.carpenter@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    --cc=milospuric856@gmail.com \
    --cc=s9430939@naver.com \
    --cc=zxcv2569763104@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 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.