mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/17] lseek related fixes
@ 2019-03-07  7:49 Andrey Smirnov
  2019-03-07  7:49 ` [PATCH 01/17] libfile: Make failure path of open_and_lseek() consistent Andrey Smirnov
                   ` (17 more replies)
  0 siblings, 18 replies; 19+ messages in thread
From: Andrey Smirnov @ 2019-03-07  7:49 UTC (permalink / raw)
  To: barebox; +Cc: Andrey Smirnov

Everyone:

As a follow up to lseek() related fixes that went in recently, I went
throught all of the calls to it in the codebase I could find and fixed
a number of type problems as well as some other minor issue. This
series is the result. Hopefuly all of the patches are
self-explanatory.

Feedback is welcome!

Thanks,
Andrey Smirnov

Andrey Smirnov (17):
  libfile: Make failure path of open_and_lseek() consistent
  common: Always return enum filetype in file_name_detect_type_offset()
  MIPS: ath79: Use errno to get error code from open_and_lseek()
  ARM: i.MX: bbu: Fix variable type in imx_bbu_external_nand_update()
  ARM: i.MX: bbu: Fix lseek error check in
    imx_bbu_external_nand_update()
  ARM: i.MX: bbu: Fix lseek error check in
    imx_bbu_internal_v2_write_nand_dbbt()
  ARM: i.MX: bbu: Fix variable type in
    imx_bbu_internal_v2_write_nand_dbbt()
  bpkfs: Fix lseek error check in bpkfs_probe()
  uimage: Fix lseek error check in uimage_verify()
  uimage: Fix lseek error check in uimage_load()
  uimage: Fix lseek error check in uimage_load_to_buf()
  state: Fix lseek error check in state_backend_bucket_direct_read()
  state: Fix lseek error check in state_backend_bucket_direct_write()
  state: Fix lseek error check in state_mtd_peb_read()
  state: Fix lseek error check in state_mtd_peb_write()
  commands: loadxy: Make use of open_and_lseek()
  commands: loadb: Make use of open_and_lseek()

 arch/arm/mach-imx/imx-bbu-external-nand.c | 10 ++++---
 arch/arm/mach-imx/imx-bbu-internal.c      | 10 ++++---
 arch/mips/mach-ath79/art.c                |  4 +--
 commands/loadb.c                          | 12 +--------
 commands/loadxy.c                         | 13 ++-------
 common/filetype.c                         |  4 +--
 common/state/backend_bucket_circular.c    | 14 +++++-----
 common/state/backend_bucket_direct.c      | 23 ++++++++--------
 common/uimage.c                           | 32 +++++++++++------------
 fs/bpkfs.c                                |  4 +--
 lib/libfile.c                             | 26 +++++++++---------
 11 files changed, 65 insertions(+), 87 deletions(-)

-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-03-11  6:56 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-07  7:49 [PATCH 00/17] lseek related fixes Andrey Smirnov
2019-03-07  7:49 ` [PATCH 01/17] libfile: Make failure path of open_and_lseek() consistent Andrey Smirnov
2019-03-07  7:49 ` [PATCH 02/17] common: Always return enum filetype in file_name_detect_type_offset() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 03/17] MIPS: ath79: Use errno to get error code from open_and_lseek() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 04/17] ARM: i.MX: bbu: Fix variable type in imx_bbu_external_nand_update() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 05/17] ARM: i.MX: bbu: Fix lseek error check " Andrey Smirnov
2019-03-07  7:49 ` [PATCH 06/17] ARM: i.MX: bbu: Fix lseek error check in imx_bbu_internal_v2_write_nand_dbbt() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 07/17] ARM: i.MX: bbu: Fix variable type " Andrey Smirnov
2019-03-07  7:49 ` [PATCH 08/17] bpkfs: Fix lseek error check in bpkfs_probe() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 09/17] uimage: Fix lseek error check in uimage_verify() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 10/17] uimage: Fix lseek error check in uimage_load() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 11/17] uimage: Fix lseek error check in uimage_load_to_buf() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 12/17] state: Fix lseek error check in state_backend_bucket_direct_read() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 13/17] state: Fix lseek error check in state_backend_bucket_direct_write() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 14/17] state: Fix lseek error check in state_mtd_peb_read() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 15/17] state: Fix lseek error check in state_mtd_peb_write() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 16/17] commands: loadxy: Make use of open_and_lseek() Andrey Smirnov
2019-03-07  7:49 ` [PATCH 17/17] commands: loadb: " Andrey Smirnov
2019-03-11  6:56 ` [PATCH 00/17] lseek related fixes Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox