Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1213402

Re: [PATCH 1/2] staging: fbtft: fix 9-bit SPI support detection

From Noralf Trønnes <noralf@tronnes.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] staging: fbtft: fix 9-bit SPI support detection
Date 2015-08-26 00:10 +0200
Message-ID <q1uzM-30c-27@gated-at.bofh.it> (permalink)
References <q1tDH-1uW-11@gated-at.bofh.it> <q1tDJ-1uW-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Den 25.08.2015 23:04, skrev Stefan Wahren:
> Since the result of the setup function isn't adequate to check
> 9-bit SPI support, we better check bits_per_word_mask. Btw this
> change avoids a NULL pointer dereference with master drivers
> without a separate setup function.
>
> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
> ---
>   drivers/staging/fbtft/fbtft-core.c |   10 +++-------
>   drivers/staging/fbtft/flexfb.c     |   11 ++++-------
>   2 files changed, 7 insertions(+), 14 deletions(-)

Thanks Stefan.

Both patches:
Acked-by: Noralf Trønnes <noralf@tronnes.org>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] staging: fbtft: fix 9-bit SPI support detection Stefan Wahren <stefan.wahren@i2se.com> - 2015-08-25 23:10 +0200
  Re: [PATCH 1/2] staging: fbtft: fix 9-bit SPI support detection Noralf Trønnes <noralf@tronnes.org> - 2015-08-26 00:10 +0200

csiph-web